Zserio C++17 runtime library 1.3.0
Built for Zserio 2.20.0
Loading...
Searching...
No Matches
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
7namespace zserio
8{
9namespace pmr
10{
11
15template <typename KEY, typename T, typename COMPARE = std::less<KEY>>
16using 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