Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::front_fn Struct Reference

Public Member Functions

template<typename Rng >
requires forward_range<Rng> && borrowed_range<Rng>
constexpr range_reference_t< Rng > operator() (Rng &&rng) const
 

Member Function Documentation

◆ operator()()

template<typename Rng >
requires forward_range<Rng> && borrowed_range<Rng>
constexpr range_reference_t< Rng > ranges::front_fn::operator() ( Rng &&  rng) const
constexpr
Returns
*begin(rng)