CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
FlatMap.hpp File Reference
#include "Pair.hpp"
#include "SmallVector.hpp"
#include "StaticVector.hpp"
#include "Vector.hpp"
#include "CeresEngine/DataTypes.hpp"
#include <algorithm>
#include <cstring>
#include <stdexcept>
#include <type_traits>
#include <vector>

Go to the source code of this file.

Classes

class  CeresEngine::FlatMap< Key, T, Compare, Container >
 FlatMap is an almsot drop-in replacement of Map. More...
 
struct  CeresEngine::FlatMap< Key, T, Compare, Container >::pair_compare
 

Namespaces

namespace  CeresEngine
 

Typedefs

template<typename Key , typename T , size_t Capacity, typename Compare = std::less<>>
using CeresEngine::StaticFlatMap = FlatMap< Key, T, Compare, StaticVector< Pair< Key, T >, Capacity > >
 Similar to a FlatMap, but stores data in a StaticVector.
 

Functions

template<typename Key , typename T , typename Compare , typename Container >
bool CeresEngine::operator== (const FlatMap< Key, T, Compare, Container > &a, const FlatMap< Key, T, Compare, Container > &b)
 
template<typename Key , typename T , typename Compare , typename Container >
bool CeresEngine::operator!= (const FlatMap< Key, T, Compare, Container > &a, const FlatMap< Key, T, Compare, Container > &b)