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

Synopsis of methods

constexpr shared_closure< shared_fnshared {}
 

Public Member Functions

template<typename Rng >
auto operator() (Rng &&rng) const -> shared_view< detail::decay_t< Rng >> requires range< Rng > &&(!viewable_range< Rng >)&&constructible_from< detail::decay_t< Rng >, Rng >