15 static_assert(Max >= Min);
16 static_assert(Inc >= 1);
71template <
size_t Start,
size_t End,
size_t Inc,
class F>
constexpr void constexpr_for(F&& f)
76 constexpr auto indices = detail::make_index_range<Start, End, Inc>();
77 [&]<
size_t... Is>(
std::index_sequence<Is...>) { (f.template operator()<Is>(), ...); }(indices);
constexpr auto make_index_range()
Create an index sequence from Min to Max (not included) with an increment of Inc.
Entry point for Barretenberg command-line interface.
constexpr void constexpr_for(F &&f)
Implements a loop using a compile-time iterator. Requires c++20. Implementation (and description) fro...
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept