Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::v3::stride_view< Rng > Struct Template Reference
+ Inheritance diagram for ranges::v3::stride_view< Rng >:

Public Member Functions

constexpr range_size_type_t< Rng > size () const noexcept(noexcept(ranges::size(std::declval< Rng const &>())))
 
range_size_type_t< Rng > size () noexcept(noexcept(ranges::size(std::declval< Rng &>())))
 
constexpr stride_view (Rng rng, range_difference_type_t< Rng > const stride) noexcept(std::is_nothrow_constructible< detail::stride_view_base< Rng >, Rng, range_difference_type_t< Rng >>::value)
 

Member Function Documentation

◆ size() [1/2]

template<typename Rng >
constexpr range_size_type_t<Rng> ranges::v3::stride_view< Rng >::size ( ) const
noexcept
Precondition
SizedRange<Rng const>()

◆ size() [2/2]

template<typename Rng >
range_size_type_t<Rng> ranges::v3::stride_view< Rng >::size ( )
noexcept
Precondition
!SizedRange<Rng const>="">() && SizedRange<Rng>()