Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

container

container

Functions

template<typename TContainer >
ETL_CONSTEXPR TContainer::iterator begin (TContainer &container)
 Get the 'begin' iterator.
template<typename TContainer >
ETL_CONSTEXPR
TContainer::const_iterator 
begin (const TContainer &container)
 Get the 'begin' const_iterator for a container.
template<typename TContainer >
ETL_CONSTEXPR
TContainer::const_iterator 
cbegin (const TContainer &container)
 Get the 'begin' const_iterator for a container.
template<typename TContainer >
ETL_CONSTEXPR
TContainer::reverse_iterator 
rbegin (const TContainer &container)
 Get the 'begin' reverse_iterator for a container.
template<typename TContainer >
ETL_CONSTEXPR
TContainer::reverse_iterator 
crbegin (const TContainer &container)
 Get the 'begin' reverse_iterator for a container.
template<typename TContainer >
ETL_CONSTEXPR TContainer::iterator end (TContainer &container)
 Get the 'end' iterator for a container.
template<typename TContainer >
ETL_CONSTEXPR
TContainer::const_iterator 
end (const TContainer &container)
 Get the 'end' const_iterator for a container.
template<typename TContainer >
ETL_CONSTEXPR
TContainer::const_iterator 
cend (const TContainer &container)
 Get the 'end' const_iterator for a container.
template<typename TContainer >
ETL_CONSTEXPR
TContainer::const_iterator 
rend (const TContainer &container)
 Get the 'end' reverse_iterator for a container.
template<typename TContainer >
ETL_CONSTEXPR
TContainer::reverse_iterator 
crend (const TContainer &container)
 Get the 'end' reverse_iterator for a container.
template<typename TValue , const size_t ARRAY_SIZE>
ETL_CONSTEXPR TValue * begin (TValue(&data)[ARRAY_SIZE])
 Get the 'begin' pointer for an array.
template<typename TValue , const size_t ARRAY_SIZE>
ETL_CONSTEXPR const TValue * begin (const TValue(&data)[ARRAY_SIZE])
 Get the 'begin' const iterator for an array.
template<typename TValue , const size_t ARRAY_SIZE>
ETL_CONSTEXPR const TValue * cbegin (const TValue(&data)[ARRAY_SIZE])
 Get the 'begin' const iterator for an array.
template<typename TValue , const size_t ARRAY_SIZE>
ETL_CONSTEXPR
std::reverse_iterator< TValue * > 
rbegin (const TValue(&data)[ARRAY_SIZE])
 Get the 'begin' reverse_iterator for an array.
template<typename TValue , const size_t ARRAY_SIZE>
ETL_CONSTEXPR
std::reverse_iterator< const
TValue * > 
crbegin (const TValue(&data)[ARRAY_SIZE])
 Get the 'begin' const reverse_iterator for an array.
template<typename TValue , const size_t ARRAY_SIZE>
ETL_CONSTEXPR TValue * end (TValue(&data)[ARRAY_SIZE])
 Get the 'end' iterator for an array.
template<typename TValue , const size_t ARRAY_SIZE>
ETL_CONSTEXPR const TValue * end (const TValue(&data)[ARRAY_SIZE])
 Get the 'end' const iterator for an array.
template<typename TValue , const size_t ARRAY_SIZE>
ETL_CONSTEXPR const TValue * cend (const TValue(&data)[ARRAY_SIZE])
 Get the 'end' const iterator for an array.
template<typename TValue , const size_t ARRAY_SIZE>
ETL_CONSTEXPR
std::reverse_iterator< TValue * > 
rend (const TValue(&data)[ARRAY_SIZE])
 Get the 'end' reverse_iterator for an array.
template<typename TValue , const size_t ARRAY_SIZE>
ETL_CONSTEXPR
std::reverse_iterator< const
TValue * > 
crend (const TValue(&data)[ARRAY_SIZE])
 Get the 'end' const reverse_iterator for an array.
template<class TIterator >
TIterator next (TIterator iterator, ptrdiff_t n=1)
 Get the next iterator.
template<class TIterator >
TIterator prev (TIterator iterator, ptrdiff_t n=1)
 Get the previous iterator.

Function Documentation

ETL_CONSTEXPR TContainer::iterator etl::begin ( TContainer &  container )

Get the 'begin' iterator.

Definition at line 49 of file container.h.

ETL_CONSTEXPR TContainer::const_iterator etl::begin ( const TContainer &  container )

Get the 'begin' const_iterator for a container.

Definition at line 59 of file container.h.

ETL_CONSTEXPR TValue* etl::begin ( TValue(&)  data[ARRAY_SIZE] )

Get the 'begin' pointer for an array.

Definition at line 149 of file container.h.

ETL_CONSTEXPR const TValue* etl::begin ( const TValue(&)  data[ARRAY_SIZE] )

Get the 'begin' const iterator for an array.

Definition at line 159 of file container.h.

ETL_CONSTEXPR TContainer::const_iterator etl::cbegin ( const TContainer &  container )

Get the 'begin' const_iterator for a container.

Definition at line 69 of file container.h.

ETL_CONSTEXPR const TValue* etl::cbegin ( const TValue(&)  data[ARRAY_SIZE] )

Get the 'begin' const iterator for an array.

Definition at line 169 of file container.h.

ETL_CONSTEXPR TContainer::const_iterator etl::cend ( const TContainer &  container )

Get the 'end' const_iterator for a container.

Definition at line 119 of file container.h.

ETL_CONSTEXPR const TValue* etl::cend ( const TValue(&)  data[ARRAY_SIZE] )

Get the 'end' const iterator for an array.

Definition at line 219 of file container.h.

ETL_CONSTEXPR TContainer::reverse_iterator etl::crbegin ( const TContainer &  container )

Get the 'begin' reverse_iterator for a container.

Definition at line 89 of file container.h.

ETL_CONSTEXPR std::reverse_iterator<const TValue*> etl::crbegin ( const TValue(&)  data[ARRAY_SIZE] )

Get the 'begin' const reverse_iterator for an array.

Definition at line 189 of file container.h.

ETL_CONSTEXPR TContainer::reverse_iterator etl::crend ( const TContainer &  container )

Get the 'end' reverse_iterator for a container.

Definition at line 139 of file container.h.

ETL_CONSTEXPR std::reverse_iterator<const TValue*> etl::crend ( const TValue(&)  data[ARRAY_SIZE] )

Get the 'end' const reverse_iterator for an array.

Definition at line 239 of file container.h.

ETL_CONSTEXPR const TValue* etl::end ( const TValue(&)  data[ARRAY_SIZE] )

Get the 'end' const iterator for an array.

Definition at line 209 of file container.h.

ETL_CONSTEXPR TValue* etl::end ( TValue(&)  data[ARRAY_SIZE] )

Get the 'end' iterator for an array.

Definition at line 199 of file container.h.

ETL_CONSTEXPR TContainer::iterator etl::end ( TContainer &  container )

Get the 'end' iterator for a container.

Definition at line 99 of file container.h.

ETL_CONSTEXPR TContainer::const_iterator etl::end ( const TContainer &  container )

Get the 'end' const_iterator for a container.

Definition at line 109 of file container.h.

TIterator etl::next ( TIterator  iterator,
ptrdiff_t  n = 1 
)

Get the next iterator.

Definition at line 249 of file container.h.

TIterator etl::prev ( TIterator  iterator,
ptrdiff_t  n = 1 
)

Get the previous iterator.

Definition at line 260 of file container.h.

ETL_CONSTEXPR TContainer::reverse_iterator etl::rbegin ( const TContainer &  container )

Get the 'begin' reverse_iterator for a container.

Definition at line 79 of file container.h.

ETL_CONSTEXPR std::reverse_iterator<TValue*> etl::rbegin ( const TValue(&)  data[ARRAY_SIZE] )

Get the 'begin' reverse_iterator for an array.

Definition at line 179 of file container.h.

ETL_CONSTEXPR std::reverse_iterator<TValue*> etl::rend ( const TValue(&)  data[ARRAY_SIZE] )

Get the 'end' reverse_iterator for an array.

Definition at line 229 of file container.h.

ETL_CONSTEXPR TContainer::const_iterator etl::rend ( const TContainer &  container )

Get the 'end' reverse_iterator for a container.

Definition at line 129 of file container.h.