Basic STL-compatible sequence container traits.
More...
#include <entt.hpp>
|
static Container::value_type & | get (Container &cont, typename Container::size_type pos) |
| Returns a reference to the element at the specified location of the given container (no bounds checking is performed). More...
|
|
static const Container::value_type & | cget (const Container &cont, typename Container::size_type pos) |
| Returns a reference to the element at the specified location of the given container (no bounds checking is performed). More...
|
|
template<typename Container>
struct entt::basic_sequence_container< Container >
Basic STL-compatible sequence container traits.
- Template Parameters
-
Container | The type of the container. |
◆ cget()
template<typename Container >
Returns a reference to the element at the specified location of the given container (no bounds checking is performed).
- Parameters
-
cont | The container from which to get the element. |
pos | The position of the element to return. |
- Returns
- A reference to the requested element.
◆ get()
template<typename Container >
Returns a reference to the element at the specified location of the given container (no bounds checking is performed).
- Parameters
-
cont | The container from which to get the element. |
pos | The position of the element to return. |
- Returns
- A reference to the requested element.
The documentation for this struct was generated from the following file: