Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

flat_multiset

flat_multiset

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

Data Structures

class  iflat_multiset< T, TKeyCompare >
 The base class for specifically sized flat_multisets. More...
class  flat_multiset< T, MAX_SIZE_, TCompare >
 A flat_multiset implementation that uses a fixed size buffer. More...

Functions

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

Detailed Description

A flat_multiset with the capacity defined at compile time.

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


Function Documentation

bool etl::operator!= ( const etl::iflat_multiset< T, TKeyCompare > &  lhs,
const etl::iflat_multiset< T, TKeyCompare > &  rhs 
)

Not equal operator.

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

Definition at line 533 of file flat_multiset.h.

bool etl::operator== ( const etl::iflat_multiset< T, TKeyCompare > &  lhs,
const etl::iflat_multiset< T, TKeyCompare > &  rhs 
)

Equal operator.

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

Definition at line 520 of file flat_multiset.h.