Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::iter_transform2_view< Rng1, Rng2, Fun > Struct Template Reference
+ Inheritance diagram for ranges::iter_transform2_view< Rng1, Rng2, Fun >:

Public Member Functions

constexpr iter_transform2_view (Rng1 rng1, Rng2 rng2, Fun fun)
 
template<bool True = true>
constexpr auto size ()
 
template<bool True = true>
constexpr auto size () const
 
- Public Member Functions inherited from ranges::view_facade< iter_transform2_view< Rng1, Rng2, Fun >, detail::transform2_cardinality(range_cardinality< Rng1 >::value, range_cardinality< Rng2 >::value)>
constexpr auto begin () -> detail::facade_iterator_t< D >
 Let d be static_cast<Derived &>(*this). Let b be std::as_const(d).begin_cursor() if that expression is well-formed; otherwise, let b be d.begin_cursor(). Let B be the type of b. More...
 
constexpr auto begin () const -> detail::facade_iterator_t< D const >
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
constexpr auto end () -> detail::facade_sentinel_t< D >
 Let d be static_cast<Derived &>(*this). Let e be std::as_const(d).end_cursor() if that expression is well-formed; otherwise, let e be d.end_cursor(). Let E be the type of e. More...
 
constexpr auto end () const -> detail::facade_sentinel_t< D const >
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 

Static Public Member Functions

static constexpr auto size () -> std::size_t
 

Additional Inherited Members

- Protected Member Functions inherited from ranges::view_facade< iter_transform2_view< Rng1, Rng2, Fun >, detail::transform2_cardinality(range_cardinality< Rng1 >::value, range_cardinality< Rng2 >::value)>
constexpr view_as_cursor begin_cursor () const
 
constexpr default_sentinel_t end_cursor () const
 
- Protected Attributes inherited from ranges::view_facade< iter_transform2_view< Rng1, Rng2, Fun >, detail::transform2_cardinality(range_cardinality< Rng1 >::value, range_cardinality< Rng2 >::value)>
friend range_access
 

Member Function Documentation

◆ size() [1/2]

template<typename Rng1 , typename Rng2 , typename Fun >
template<bool True = true>
constexpr auto ranges::iter_transform2_view< Rng1, Rng2, Fun >::size ( )
constexpr
Precondition
requires (my_cardinality < 0) && sized_range<Rng1> && sized_range<Rng2> && common_with<range_size_t<R1<True>>, range_size_t<R2<True>>>

◆ size() [2/2]

template<typename Rng1 , typename Rng2 , typename Fun >
template<bool True = true>
constexpr auto ranges::iter_transform2_view< Rng1, Rng2, Fun >::size ( ) const
constexpr
Precondition
requires (my_cardinality < 0) && sized_range<Rng1 const> && sized_range<Rng2 const> && common_with<range_size_t<R1<True>>, range_size_t<R2<True>>>