35 template <
typename value_t>
38 static_assert(std::copy_constructible<value_t>,
"The value passed to repeat_n must be copy constructible.");
constexpr ptrdiff_t count
Count the occurrences of a type in a pack.
Definition: traits.hpp:168
constexpr detail::repeat_fn repeat
A view factory that repeats a given value infinitely.
Definition: repeat.hpp:355
constexpr auto repeat_n
A view factory that repeats a given value n times.
Definition: repeat_n.hpp:94
constexpr auto take_exactly
A view adaptor that returns the first size elements from the underlying range (or less if the underly...
Definition: take_exactly.hpp:77
The internal SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
The SeqAn namespace for views.
Definition: async_input_buffer.hpp:343
Provides the views::repeat_view.
The underlying type of seqan3::views::repeat_n.
Definition: repeat_n.hpp:28
constexpr auto operator()(value_t &&value, size_t const count) const
Creates a range of size count, where each element equals value.
Definition: repeat_n.hpp:36
Provides seqan3::views::take_exactly and seqan3::views::take_exactly_or_throw.