scn::ranges namespace

Contains a very minimal <ranges> implementation.

This is a heavily stripped-down and adapted version of NanoRange: https://github.com/tcbrindle/NanoRange.

NanoRange is provided under the Boost license. Copyright (c) 2018 Tristan Brindle (tcbrindle at gmail dot com)

Classes

struct dangling

Typedefs

template <typename R>
using borrowed_iterator_t = std::conditional_t<borrowed_range<R>, iterator_t<R>, dangling>

Variables

template <typename T>
bool borrowed_range constexpr

Typedef documentation

template <typename R>
using scn::ranges::borrowed_iterator_t = std::conditional_t<borrowed_range<R>, iterator_t<R>, dangling>

Variable documentation

template <typename T>
bool scn::ranges::borrowed_range constexpr