20namespace seqan3::detail
36 template <
typename value_t>
37 constexpr auto operator()(value_t && value,
size_t const count)
const
39 static_assert(std::copy_constructible<value_t>,
"The value passed to repeat_n must be copy constructible.");
91constexpr inline auto repeat_n = detail::repeat_n_fn{};
The <concepts> header from C++20's standard library.
constexpr ptrdiff_t count
Count the occurrences of a type in a pack.
Definition: traits.hpp:169
constexpr detail::repeat_fn repeat
A view factory that repeats a given value infinitely.
Definition: repeat.hpp:347
constexpr auto repeat_n
A view factory that repeats a given value n times.
Definition: repeat_n.hpp:91
The SeqAn namespace for views.
Definition: char_to.hpp:22
Provides the seqan3::views::repeat.
Provides seqan3::views::take_exactly and seqan3::views::take_exactly_or_throw.