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