Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::partial_sum_view< Rng, Fun > Struct Template Reference

Public Member Functions

constexpr partial_sum_view (Rng rng, Fun fun) noexcept(std::is_nothrow_move_constructible< Rng >::value &&std::is_nothrow_move_constructible< Fun >::value)
 
constexpr auto size ()
 
constexpr auto size () const
 

Member Function Documentation

◆ size()

template<typename Rng , typename Fun >
constexpr auto ranges::partial_sum_view< Rng, Fun >::size ( )
constexpr
Precondition
requires sized_range<Rng>