5#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_END_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_END_HPP_
26template <
typename Element,
size_t Size>
28constexpr auto end(Element (&array)[Size])
noexcept -> Element* {
30 return static_cast<Element*
>(array) + Size;
41template <
typename Container>
52template <
typename Container>
54 ->
decltype(cont.end()) {
65template <
typename Container>
68 return ::std::end(cont);
auto declval() noexcept -> T &&
A dummy function that is declared but not defined, with a user-specified return type,...
constexpr auto end(Element(&array)[Size]) noexcept -> Element *
Obtain a pointer to the one-past-the-end element of the array.
Definition end.hpp:28
constexpr auto cend(Container const &cont) noexcept(noexcept(::std::end(std::declval< Container const & >()))) ->
Equivalent to invoking end(cont) on a const container.
Definition end.hpp:66