Clementine
|
Basic STL-compatible container traits. More...
#include <entt.hpp>
Public Types | |
using | iterator = typename Container::iterator |
Iterator type of the container. | |
using | const_iterator = typename Container::const_iterator |
Iterator type of the container. | |
using | size_type = typename Container::size_type |
Unsigned integer type. | |
using | value_type = typename Container::value_type |
Value type of the container. | |
Static Public Member Functions | |
static size_type | size (const Container &cont) ENTT_NOEXCEPT |
Returns the size of the given container. More... | |
static iterator | begin (Container &cont) |
Returns an iterator to the first element of the given container. More... | |
static const_iterator | cbegin (const Container &cont) |
Returns an iterator to the first element of the given container. More... | |
static iterator | end (Container &cont) |
Returns an iterator past the last element of the given container. More... | |
static const_iterator | cend (const Container &cont) |
Returns an iterator past the last element of the given container. More... | |
Basic STL-compatible container traits.
Container | The type of the container. |
|
inlinestatic |
Returns an iterator to the first element of the given container.
cont | The container for which to return the iterator. |
|
inlinestatic |
Returns an iterator to the first element of the given container.
cont | The container for which to return the iterator. |
|
inlinestatic |
Returns an iterator past the last element of the given container.
cont | The container for which to return the iterator. |
|
inlinestatic |
Returns an iterator past the last element of the given container.
cont | The container for which to return the iterator. |
|
inlinestatic |
Returns the size of the given container.
cont | The container for which to return the size. |