Zserio C++17 runtime library  0.5.0
Built for Zserio 2.17.0
Map.h
Go to the documentation of this file.
1 #ifndef ZSERIO_PMR_MAP_H_INC
2 #define ZSERIO_PMR_MAP_H_INC
3 
4 #include <map>
5 #include <memory_resource>
6 
7 namespace zserio
8 {
9 namespace pmr
10 {
11 
15 template <typename KEY, typename T, typename COMPARE = std::less<KEY>>
16 using Map = std::map<KEY, T, COMPARE, std::pmr::polymorphic_allocator<std::pair<const KEY, T>>>;
17 
18 } // namespace pmr
19 } // namespace zserio
20 
21 #endif // ZSERIO_PMR_MAP_H_INC
std::map< KEY, T, COMPARE, std::pmr::polymorphic_allocator< std::pair< const KEY, T > >> Map
Definition: Map.h:16