Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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:
-
lhs Reference to the first reference_flat_map. rhs Reference 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:
-
lhs Reference to the first reference_flat_map. rhs Reference 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.
Generated on Tue Jul 12 2022 14:05:48 by
