Basic STL-compatible container traits.
More...
#include <container.hpp>
|
| static Container::size_type | size (const Container &cont) |
| | Returns the size of the given container. More...
|
| |
| static Container::iterator | begin (Container &cont) |
| | Returns an iterator to the first element of the given container. More...
|
| |
| static Container::const_iterator | cbegin (const Container &cont) |
| | Returns an iterator to the first element of the given container. More...
|
| |
| static Container::iterator | end (Container &cont) |
| | Returns an iterator past the last element of the given container. More...
|
| |
| static Container::const_iterator | cend (const Container &cont) |
| | Returns an iterator past the last element of the given container. More...
|
| |
template<typename Container>
struct entt::basic_container< Container >
Basic STL-compatible container traits.
- Template Parameters
-
| Container | The type of the container. |
Definition at line 38 of file container.hpp.
◆ begin()
template<typename Container >
Returns an iterator to the first element of the given container.
- Parameters
-
| cont | The container for which to return the iterator. |
- Returns
- An iterator to the first element of the given container.
Definition at line 53 of file container.hpp.
◆ cbegin()
template<typename Container >
Returns an iterator to the first element of the given container.
- Parameters
-
| cont | The container for which to return the iterator. |
- Returns
- An iterator to the first element of the given container.
Definition at line 62 of file container.hpp.
◆ cend()
template<typename Container >
Returns an iterator past the last element of the given container.
- Parameters
-
| cont | The container for which to return the iterator. |
- Returns
- An iterator past the last element of the given container.
Definition at line 80 of file container.hpp.
◆ end()
template<typename Container >
Returns an iterator past the last element of the given container.
- Parameters
-
| cont | The container for which to return the iterator. |
- Returns
- An iterator past the last element of the given container.
Definition at line 71 of file container.hpp.
◆ size()
template<typename Container >
Returns the size of the given container.
- Parameters
-
| cont | The container for which to return the size. |
- Returns
- The size of the given container.
Definition at line 44 of file container.hpp.
The documentation for this struct was generated from the following file: