cxxomfort  rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
Namespaces | Functions
14-iterator_access.hpp File Reference

Implementation of C++14's iterator accesors std::cbegin , std::cend , etc. More...

Namespaces

 cxxomfort
 Namespace of the cxxomfort library.
 
 cxxomfort::cxxostd
 Backports made available by cxxomfort.
 

Functions

template<typename Seq >
Seq::const_iterator cbegin (Seq &&)
 Returns an iterator to the beginning of a given container or sequence. More...
 
template<typename Seq >
Seq::const_iterator cend (Seq &&)
 Returns an iterator to the end of a given container or sequence. More...
 
template<typename T , ::std::size_t N>
::std::reverse_iterator< T * > rbegin (T(&arr)[N])
 
template<typename T , ::std::size_t N>
::std::reverse_iterator< T * > rend (T(&arr)[N])
 

Detailed Description

Implementation of C++14's iterator accesors std::cbegin , std::cend , etc.

Function Documentation

◆ cbegin()

Seq::const_iterator cxxomfort::cxxostd::iterator::cbegin ( Seq &&  )

Returns an iterator to the beginning of a given container or sequence.

C++14 Backports:
Iterator accessor
Iterator accessor

◆ cend()

Seq::const_iterator cxxomfort::cxxostd::iterator::cend ( Seq &&  )

Returns an iterator to the end of a given container or sequence.

C++14 Backports:
Iterator accessor
Iterator accessor

◆ rbegin()

::std::reverse_iterator<T*> cxxomfort::cxxostd::iterator::rbegin ( T(&)  arr[N])
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ rend()

::std::reverse_iterator<T*> cxxomfort::cxxostd::iterator::rend ( T(&)  arr[N])
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.