CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
MultiMap.hpp File Reference
#include "Pair.hpp"
#include "CeresEngine/Foundation/Allocator.hpp"
#include "CeresEngine/Foundation/Hash.hpp"
#include <map>
#include <unordered_map>

Go to the source code of this file.

Namespaces

namespace  CeresEngine
 

Typedefs

template<typename Key , typename T , typename Compare = std::less<>, typename RawAllocator = DefaultAllocator>
using CeresEngine::MultiMap = std::multimap< Key, T, Compare, ScopedAllocatorAdaptor< StdAllocator< Pair< const Key, T >, RawAllocator > > >
 
template<typename Key , typename T , typename Compare = std::less<>>
using CeresEngine::TemporaryMultiMap = MultiMap< Key, T, Compare, TemporaryAllocator >
 A special MultiMap that uses a fast temporary allocator.
 
template<typename Key , typename T , typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<>, typename RawAllocator = DefaultAllocator>
using CeresEngine::HashMultiMap = std::unordered_multimap< Key, T, Hash, KeyEqual, ScopedAllocatorAdaptor< StdAllocator< Pair< const Key, T >, RawAllocator > > >
 
template<typename Key , typename T , typename Hash = std::hash<Key>, typename KeyEqual = std::equal_to<>>
using CeresEngine::TemporaryHashMultiMap = HashMultiMap< Key, T, Hash, KeyEqual, TemporaryAllocator >
 A special HashMultiMap that uses a fast temporary allocator.