Checked indexed range access. More...
#include <range/v3/range/operations.hpp>
Public Member Functions | |
template<typename Rng > requires random_access_range<Rng> && sized_range<Rng> && borrowed_range<Rng> | |
constexpr range_reference_t< Rng > | operator() (Rng &&rng, range_difference_t< Rng > n) const |
Checked indexed range access.
|
constexpr |
begin(rng)[n]