21namespace bio::ranges::detail
37 template <
typename value_t>
38 constexpr auto operator()(value_t && value,
size_t const count)
const
40 static_assert(std::constructible_from<std::remove_cvref_t<value_t>, value_t>,
41 "The value passed to repeat_n must be (1) an lvalue and its type copy constructible; or "
42 "(2) an rvalue and its type move constructible.");
98inline constexpr auto repeat_n = detail::repeat_n_fn{};
constexpr auto repeat_n
A view factory that repeats a given value n times.
Definition: repeat_n.hpp:98
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:78
constexpr detail::repeat_fn repeat
A view factory that repeats a given value infinitely.
Definition: repeat.hpp:314
The BioC++ namespace for views.
Provides the views::repeat_view.
Provides bio::views::take_exactly and bio::views::take_exactly_or_throw.