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

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

#include <entt.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...
 
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...
 

Detailed Description

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

Basic STL-compatible sequence container traits.

Template Parameters
ContainerThe type of the container.

Member Function Documentation

◆ cget()

template<typename Container >
static const Container::value_type& entt::basic_sequence_container< Container >::cget ( const 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.

◆ get()

template<typename Container >
static Container::value_type& entt::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.

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