constructor · 4 overloads
std::ranges::repeat_view::repeat_view
- Header
<ranges>- Draft
- [range.repeat.view]
- Scope
std::ranges::repeat_view- cppreference
- std::ranges::repeat_view nearest page
Constructors
Overloads
- (1)
repeat_view() = default requires default_initializable<T>; - (2)
explicit constexpr repeat_view( const T& value, Bound y_bound = Bound()) requires copy_constructible<T>; - (3)
explicit constexpr repeat_view(T&& value, Bound y_bound = Bound()); - (4)
template<class... TArgs, class... BoundArgs> requires constructible_from<T, TArgs...> && constructible_from<Bound, BoundArgs...> explicit constexpr repeat_view( piecewise_construct_t, tuple<TArgs...> value_args, tuple<BoundArgs...> bound_args = tuple<>{});