Loading...
Searching...
No Matches
Go to the documentation of this file.
31#ifndef FENNEC_LANGCPP_RANGES_H
32#define FENNEC_LANGCPP_RANGES_H
39template<
typename ContainerT>
40inline constexpr auto begin(ContainerT& c)
noexcept(
noexcept(c.begin())) ->
decltype(c.begin()) {
44template<
typename ContainerT>
45inline constexpr auto begin(
const ContainerT& c)
noexcept(
noexcept(c.begin())) ->
decltype(c.begin()) {
49template<
typename T,
size_t N>
50inline constexpr T* begin(T (&arr)[N])
noexcept {
55template<
typename ContainerT>
56inline constexpr auto end(ContainerT& c)
noexcept(
noexcept(c.end())) ->
decltype(c.end()) {
60template<
typename ContainerT>
61inline constexpr auto end(
const ContainerT& c)
noexcept(
noexcept(c.end())) ->
decltype(c.end()) {
65template<
typename T,
size_t N>
66inline constexpr T* end(T (&arr)[N])
noexcept {