Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

reference_flat_map

reference_flat_map

An reference_flat_map with the capacity defined at compile time. More...

Data Structures

class  flat_map_exception
 Exception base for reference_flat_maps. More...
class  flat_map_full
 Vector full exception. More...
class  flat_map_out_of_bounds
 Vector out of bounds exception. More...
class  ireference_flat_map< TKey, TMapped, TKeyCompare >
 The base class for specifically sized reference_flat_maps. More...
class  reference_flat_map< TKey, TValue, MAX_SIZE_, TCompare >
 A reference_flat_map implementation that uses a fixed size buffer. More...

Functions

template<typename TKey , typename TMapped , typename TKeyCompare >
bool operator== (const etl::ireference_flat_map< TKey, TMapped, TKeyCompare > &lhs, const etl::ireference_flat_map< TKey, TMapped, TKeyCompare > &rhs)
 Equal operator.
template<typename TKey , typename TMapped , typename TKeyCompare >
bool operator!= (const etl::ireference_flat_map< TKey, TMapped, TKeyCompare > &lhs, const etl::ireference_flat_map< TKey, TMapped, TKeyCompare > &rhs)
 Not equal operator.

Detailed Description

An reference_flat_map with the capacity defined at compile time.

Has insertion of O(N) and search of O(logN) Duplicate entries are not allowed.


Function Documentation

bool etl::operator!= ( const etl::ireference_flat_map< TKey, TMapped, TKeyCompare > &  lhs,
const etl::ireference_flat_map< TKey, TMapped, TKeyCompare > &  rhs 
)

Not equal operator.

Parameters:
lhsReference to the first reference_flat_map.
rhsReference to the second reference_flat_map.
Returns:
true if the arrays are not equal, otherwise false

Definition at line 880 of file reference_flat_map.h.

bool etl::operator== ( const etl::ireference_flat_map< TKey, TMapped, TKeyCompare > &  lhs,
const etl::ireference_flat_map< TKey, TMapped, TKeyCompare > &  rhs 
)

Equal operator.

Parameters:
lhsReference to the first reference_flat_map.
rhsReference to the second reference_flat_map.
Returns:
true if the arrays are equal, otherwise false

Definition at line 867 of file reference_flat_map.h.