3#ifndef TETL_ITERATOR_REND_HPP
4#define TETL_ITERATOR_REND_HPP
10template <
typename Iter>
15template <
typename Container>
16constexpr auto rend(Container& c) ->
decltype(c.rend())
22template <
typename Container>
23constexpr auto rend(Container
const& c) ->
decltype(c.rend())
29template <
typename T,
size_t N>
37template <
typename Container>
38constexpr auto crend(Container
const& c) ->
decltype(
rend(c))
constexpr auto rend(Container &c) -> decltype(c.rend())
Returns an iterator to the reverse-end of the given container.
Definition rend.hpp:16
constexpr auto crend(Container const &c) -> decltype(rend(c))
Returns an iterator to the reverse-end of the given container.
Definition rend.hpp:38
constexpr auto begin(C &c) -> decltype(c.begin())
Returns an iterator to the beginning of the given container c or array array. These templates rely on...
Definition begin.hpp:20
Definition adjacent_find.hpp:8
A container that encapsulates fixed size arrays.
Definition array.hpp:48
reverse_iterator is an iterator adaptor that reverses the direction of a given iterator....
Definition reverse_iterator.hpp:22