Function cend
Summary
#include "breeze/iteration/begin_end.hpp"
(1) template <typename C>
constexpr C::const_iterator cend(C const &c) noexcept(noexcept(c.end()))
(2) template <typename T, std::ptrdiff_t n>
constexpr T const * cend(T const (&a)[n]) noexcept
Function overload
Synopsis
#include "breeze/iteration/begin_end.hpp"
template <typename C>
constexpr C::const_iterator cend(C const &c) noexcept(noexcept(c.end()))
Description
- Returns
- The same as c.end(), for any standard container.
Source
Lines 119-124 in breeze/iteration/begin_end.hpp.
template< typename C >
constexpr typename C::const_iterator
cend( C const & c ) noexcept( noexcept( c.end() ) )
{
return c.end() ;
}
Synopsis
#include "breeze/iteration/begin_end.hpp"
template <typename T, std::ptrdiff_t n>
constexpr T const * cend(T const (&a)[n]) noexcept
Description
Like container::end(), but for a built-in array.
Source
Lines 172-177 in breeze/iteration/begin_end.hpp.
template< typename T, std::ptrdiff_t n >
constexpr T const *
cend( T const ( &a )[ n ] ) noexcept
{
return a + n ;
}