45#include <lal/detail/type_traits/first_true.hpp>
51template <
bool... values>
54 static constexpr std::size_t
num_true = (values + ...);
static constexpr std::size_t first_true_v
Shorthand for first_true.
Definition: first_true.hpp:81
Main namespace of the library.
Definition: basic_types.hpp:50
A sequence of Boolean values.
Definition: bool_sequence.hpp:52
static constexpr std::size_t num_true
Amount of true values in the sequence.
Definition: bool_sequence.hpp:54
static constexpr std::size_t index_true
Index of the first value set to true.
Definition: bool_sequence.hpp:56