Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

flat_multimap

flat_multimap

A flat_multimapmap with the capacity defined at compile time. More...

Data Structures

class  iflat_multimap< TKey, TMapped, TKeyCompare >
 The base class for specifically sized flat_multimaps. More...
class  flat_multimap< TKey, TValue, MAX_SIZE_, TCompare >
 A flat_multimap implementation that uses a fixed size buffer. More...

Functions

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

Detailed Description

A flat_multimapmap with the capacity defined at compile time.

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


Function Documentation

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

Not equal operator.

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

Definition at line 555 of file flat_multimap.h.

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

Equal operator.

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

Definition at line 542 of file flat_multimap.h.