Basic STL-compatible associative container traits.
More...
#include <entt.hpp>
|
using | key_type = typename Container::key_type |
| Key type of the sequence container.
|
|
|
static Container::iterator | find (Container &cont, const key_type &key) |
| Returns an iterator to the element with key equivalent to the given one, if any. More...
|
|
static Container::const_iterator | cfind (const Container &cont, const key_type &key) |
| Returns an iterator to the element with key equivalent to the given one, if any. More...
|
|
template<typename Container>
struct entt::basic_associative_container< Container >
Basic STL-compatible associative container traits.
- Template Parameters
-
Container | The type of the container. |
◆ cfind()
template<typename Container >
Returns an iterator to the element with key equivalent to the given one, if any.
- Parameters
-
cont | The container in which to search for the element. |
key | The key of the element to search. |
- Returns
- An iterator to the element with the given key, if any.
◆ find()
template<typename Container >
Returns an iterator to the element with key equivalent to the given one, if any.
- Parameters
-
cont | The container in which to search for the element. |
key | The key of the element to search. |
- Returns
- An iterator to the element with the given key, if any.
The documentation for this struct was generated from the following file: