CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
Set.hpp File Reference
#include "CeresEngine/Foundation/Allocator.hpp"
#include <set>
#include <unordered_set>

Go to the source code of this file.

Namespaces

namespace  CeresEngine
 

Typedefs

template<typename Key , typename Compare = std::less<>, typename RawAllocator = DefaultAllocator>
using CeresEngine::Set = std::set< Key, Compare, ScopedAllocatorAdaptor< StdAllocator< Key, RawAllocator > > >
 Set is an associative container that contains a sorted set of unique objects of type Key.
 
template<typename Key , typename Compare = std::less<>>
using CeresEngine::TemporarySet = Set< Key, Compare, TemporaryAllocator >
 A special Set that uses a fast temporary allocator.
 
template<typename Key , typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<>, typename RawAllocator = DefaultAllocator>
using CeresEngine::HashSet = std::unordered_set< Key, Hash, KeyEqual, ScopedAllocatorAdaptor< StdAllocator< Key, RawAllocator > > >
 HashSet is an associative container that contains a set of unique objects of type Key.
 
template<typename Key , typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<>>
using CeresEngine::TemporaryHashSet = HashSet< Key, Hash, KeyEqual, TemporaryAllocator >
 A special HashSet that uses a fast temporary allocator.