halcheck 1.0
Loading...
Searching...
No Matches

◆ index()

template<std::size_t... Ints>
lib::variant< std::integral_constant< std::size_t, Ints >... > halcheck::gen::index ( lib::atom id,
lib::index_sequence< Ints... > = {} )

Generates a random std::integral_constant from the given set of indices.

Template Parameters
IntsThe set of indices to pick from.
Returns
A random std::integral_constant.