• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/bsnmp/tests/

Lines Matching refs:static_assert

1460             static_assert(sizeof(int) >= sizeof(E), "Cannot serialize enum to int");
2214 static_assert(always_false<T>::value,
2221 static_assert(always_false<T>::value,
2228 static_assert(always_false<T>::value,
2235 static_assert(always_false<T>::value,
2242 static_assert(always_false<T>::value,
2249 static_assert(always_false<T>::value,
2256 static_assert(always_false<T>::value,
2263 static_assert(always_false<T>::value,
2348 static_assert(always_false<RhsT>::value,
2355 static_assert(always_false<RhsT>::value,
3923 static_assert(!std::is_same<T, bool>::value,
4145 static_assert(!std::is_same<T, bool>::value,
4642 static_assert(std::is_arithmetic<T>::value && !std::is_same<T, bool>::value, "Type must be numeric");
4648 static_assert(std::is_integral<T>::value && !std::is_same<T, bool>::value, "Type must be an integer");
4654 static_assert(!std::is_same<T, bool>::value,
9083 static_assert( std::is_same<ReturnType, ParserResult>::value, "Lambda must return void or clara::ParserResult" );
9113 static_assert( UnaryLambdaTraits<L>::isValid, "Supplied lambda must take exactly one argument" );
9125 static_assert( UnaryLambdaTraits<L>::isValid, "Supplied lambda must take exactly one argument" );
9126 static_assert( std::is_same<typename UnaryLambdaTraits<L>::ArgType, bool>::value, "flags must be boolean" );
11316 static_assert(sizeof(float) == sizeof(int32_t), "Important ULP matcher assumption violated");
11323 static_assert(sizeof(double) == sizeof(int64_t), "Important ULP matcher assumption violated");
17270 #define CATCH_STATIC_REQUIRE( ... ) static_assert( __VA_ARGS__ , #__VA_ARGS__ ); CATCH_SUCCEED( #__VA_ARGS__ )
17271 #define CATCH_STATIC_REQUIRE_FALSE( ... ) static_assert( !(__VA_ARGS__), "!(" #__VA_ARGS__ ")" ); CATCH_SUCCEED( #__VA_ARGS__ )
17369 #define STATIC_REQUIRE( ... ) static_assert( __VA_ARGS__, #__VA_ARGS__ ); SUCCEED( #__VA_ARGS__ )
17370 #define STATIC_REQUIRE_FALSE( ... ) static_assert( !(__VA_ARGS__), "!(" #__VA_ARGS__ ")" ); SUCCEED( "!(" #__VA_ARGS__ ")" )