1 // Copyright (C) 2005 Davis E. King (davis@dlib.net) 2 // License: Boost Software License See LICENSE.txt for the full license. 3 #ifndef DLIB_STATIC_MAp_ 4 #define DLIB_STATIC_MAp_ 5 6 #include "static_map/static_map_kernel_1.h" 7 #include "static_map/static_map_kernel_c.h" 8 9 #include <functional> 10 11 12 namespace dlib 13 { 14 15 template < 16 typename domain, 17 typename range, 18 typename compare = std::less<domain> 19 > 20 class static_map 21 { static_map()22 static_map() {} 23 24 25 public: 26 27 //----------- kernels --------------- 28 29 // kernel_1a 30 typedef static_map_kernel_1<domain,range,compare> 31 kernel_1a; 32 typedef static_map_kernel_c<kernel_1a> 33 kernel_1a_c; 34 35 36 37 38 39 }; 40 } 41 42 #endif // DLIB_STATIC_MAp_ 43 44