Skip to content
Welcome to the new CppUtils documentation!

Builder for registering compile-time tests parameterized over non-type template values.

Template parameterDescription
IsSkippedIndicates whether the test execution is bypassed.
ValuesNon-type template values list.
using CppUtils::UnitTest::TestSuite::ConstexprValuesTestBuilder<IsSkipped, Values>::Base = TestBuilderBase<ConstexprValuesTestBuilder<IsSkipped, Values...>, IsSkipped>;
template <bool Condition>
[[nodiscard]] auto ConstexprValuesTestBuilder::rebind(std::string message) -> ConstexprValuesTestBuilder<Condition, Values...>;
template <auto Predicate>
auto ConstexprValuesTestBuilder::constexprTest() -> void;

Evaluates compile-time test predicates for each non-type value via static assertions.

Template parameterDescription
PredicateConstexpr invocable accepting non-type template parameter or function argument.