EnTT  3.5.0
Static Public Member Functions | List of all members
entt::internal::basic_sequence_container< Container > Struct Template Reference

Basic STL-compatible sequence container traits. More...

#include <container.hpp>

Static Public Member Functions

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...
 

Detailed Description

template<typename Container>
struct entt::internal::basic_sequence_container< Container >

Basic STL-compatible sequence container traits.

Template Parameters
ContainerThe type of the container.

Definition at line 131 of file container.hpp.

Member Function Documentation

◆ get()

template<typename Container >
static Container::value_type& entt::internal::basic_sequence_container< Container >::get ( Container &  cont,
typename Container::size_type  pos 
)
inlinestatic

Returns a reference to the element at the specified location of the given container (no bounds checking is performed).

Parameters
contThe container from which to get the element.
posThe position of the element to return.
Returns
A reference to the requested element.

Definition at line 139 of file container.hpp.


The documentation for this struct was generated from the following file: