HomeSort by relevance Sort by last modified time
    Searched full:static_assert (Results 301 - 325 of 1136) sorted by null

<<11121314151617181920>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
is_integer.pass.cpp 20 static_assert(std::numeric_limits<T>::is_integer == expected, "is_integer test 1");
21 static_assert(std::numeric_limits<const T>::is_integer == expected, "is_integer test 2");
22 static_assert(std::numeric_limits<volatile T>::is_integer == expected, "is_integer test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_integer == expected, "is_integer test 4");
is_modulo.pass.cpp 20 static_assert(std::numeric_limits<T>::is_modulo == expected, "is_modulo test 1");
21 static_assert(std::numeric_limits<const T>::is_modulo == expected, "is_modulo test 2");
22 static_assert(std::numeric_limits<volatile T>::is_modulo == expected, "is_modulo test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_modulo == expected, "is_modulo test 4");
is_signed.pass.cpp 20 static_assert(std::numeric_limits<T>::is_signed == expected, "is_signed test 1");
21 static_assert(std::numeric_limits<const T>::is_signed == expected, "is_signed test 2");
22 static_assert(std::numeric_limits<volatile T>::is_signed == expected, "is_signed test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_signed == expected, "is_signed test 4");
max_exponent.pass.cpp 21 static_assert(std::numeric_limits<T>::max_exponent == expected, "max_exponent test 1");
22 static_assert(std::numeric_limits<const T>::max_exponent == expected, "max_exponent test 2");
23 static_assert(std::numeric_limits<volatile T>::max_exponent == expected, "max_exponent test 3");
24 static_assert(std::numeric_limits<const volatile T>::max_exponent == expected, "max_exponent test 4");
max_exponent10.pass.cpp 21 static_assert(std::numeric_limits<T>::max_exponent10 == expected, "max_exponent10 test 1");
22 static_assert(std::numeric_limits<const T>::max_exponent10 == expected, "max_exponent10 test 2");
23 static_assert(std::numeric_limits<volatile T>::max_exponent10 == expected, "max_exponent10 test 3");
24 static_assert(std::numeric_limits<const volatile T>::max_exponent10 == expected, "max_exponent10 test 4");
min_exponent.pass.cpp 21 static_assert(std::numeric_limits<T>::min_exponent == expected, "min_exponent test 1");
22 static_assert(std::numeric_limits<const T>::min_exponent == expected, "min_exponent test 2");
23 static_assert(std::numeric_limits<volatile T>::min_exponent == expected, "min_exponent test 3");
24 static_assert(std::numeric_limits<const volatile T>::min_exponent == expected, "min_exponent test 4");
min_exponent10.pass.cpp 21 static_assert(std::numeric_limits<T>::min_exponent10 == expected, "min_exponent10 test 1");
22 static_assert(std::numeric_limits<const T>::min_exponent10 == expected, "min_exponent10 test 2");
23 static_assert(std::numeric_limits<volatile T>::min_exponent10 == expected, "min_exponent10 test 3");
24 static_assert(std::numeric_limits<const volatile T>::min_exponent10 == expected, "min_exponent10 test 4");
radix.pass.cpp 21 static_assert(std::numeric_limits<T>::radix == expected, "radix test 1");
22 static_assert(std::numeric_limits<const T>::radix == expected, "radix test 2");
23 static_assert(std::numeric_limits<volatile T>::radix == expected, "radix test 3");
24 static_assert(std::numeric_limits<const volatile T>::radix == expected, "radix test 4");
tinyness_before.pass.cpp 20 static_assert(std::numeric_limits<T>::tinyness_before == expected, "tinyness_before test 1");
21 static_assert(std::numeric_limits<const T>::tinyness_before == expected, "tinyness_before test 2");
22 static_assert(std::numeric_limits<volatile T>::tinyness_before == expected, "tinyness_before test 3");
23 static_assert(std::numeric_limits<const volatile T>::tinyness_before == expected, "tinyness_before test 4");
traps.pass.cpp 20 static_assert(std::numeric_limits<T>::traps == expected, "traps test 1");
21 static_assert(std::numeric_limits<const T>::traps == expected, "traps test 2");
22 static_assert(std::numeric_limits<volatile T>::traps == expected, "traps test 3");
23 static_assert(std::numeric_limits<const volatile T>::traps == expected, "traps test 4");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.string/
types.pass.cpp 30 static_assert((std::is_same<myconv::byte_string, std::string>::value), "");
31 static_assert((std::is_same<myconv::wide_string, std::wstring>::value), "");
32 static_assert((std::is_same<myconv::state_type, std::mbstate_t>::value), "");
33 static_assert((std::is_same<myconv::int_type, std::char_traits<wchar_t>::int_type>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/
allocator_void.pass.cpp 28 static_assert((std::is_same<std::allocator<void>::pointer, void*>::value), "");
29 static_assert((std::is_same<std::allocator<void>::const_pointer, const void*>::value), "");
30 static_assert((std::is_same<std::allocator<void>::value_type, void>::value), "");
31 static_assert((std::is_same<std::allocator<void>::rebind<int>::other,
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/pointer.traits/pointer.traits.types/
difference_type.pass.cpp 44 static_assert((std::is_same<std::pointer_traits<A>::difference_type, char>::value), "");
45 static_assert((std::is_same<std::pointer_traits<B>::difference_type, std::ptrdiff_t>::value), "");
46 static_assert((std::is_same<std::pointer_traits<C<double> >::difference_type, std::ptrdiff_t>::value), "");
47 static_assert((std::is_same<std::pointer_traits<D<int> >::difference_type, char>::value), "");
element_type.pass.cpp 45 static_assert((std::is_same<std::pointer_traits<A>::element_type, char>::value), "");
46 static_assert((std::is_same<std::pointer_traits<B<int> >::element_type, char>::value), "");
47 static_assert((std::is_same<std::pointer_traits<C<int> >::element_type, int>::value), "");
48 static_assert((std::is_same<std::pointer_traits<D<double, int> >::element_type, double>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.trans/meta.trans.other/
conditional.pass.cpp 18 static_assert((std::is_same<std::conditional<true, char, int>::type, char>::value), "");
19 static_assert((std::is_same<std::conditional<false, char, int>::type, int>::value), "");
21 static_assert((std::is_same<std::conditional_t<true, char, int>, char>::value), "");
22 static_assert((std::is_same<std::conditional_t<false, char, int>, int>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/
is_trivially_copy_constructible.pass.cpp 19 static_assert( std::is_trivially_copy_constructible<T>::value, "");
20 static_assert( std::is_trivially_copy_constructible<const T>::value, "");
26 static_assert(!std::is_trivially_copy_constructible<T>::value, "");
27 static_assert(!std::is_trivially_copy_constructible<const T>::value, "");
is_trivially_move_constructible.pass.cpp 19 static_assert( std::is_trivially_move_constructible<T>::value, "");
25 static_assert(!std::is_trivially_move_constructible<T>::value, "");
86 static_assert(!std::is_trivially_move_constructible<MoveOnly1>::value, "");
87 static_assert( std::is_trivially_move_constructible<MoveOnly2>::value, "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary.prop.query/
alignment_of.pass.cpp 19 static_assert( std::alignment_of<T>::value == A, "");
20 static_assert( std::alignment_of<const T>::value == A, "");
21 static_assert( std::alignment_of<volatile T>::value == A, "");
22 static_assert( std::alignment_of<const volatile T>::value == A, "");
rank.pass.cpp 19 static_assert( std::rank<T>::value == A, "");
20 static_assert( std::rank<const T>::value == A, "");
21 static_assert( std::rank<volatile T>::value == A, "");
22 static_assert( std::rank<const volatile T>::value == A, "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/
hours.pass.cpp 23 static_assert(std::is_signed<Rep>::value, "");
24 static_assert(std::is_integral<Rep>::value, "");
25 static_assert(std::numeric_limits<Rep>::digits >= 22, "");
26 static_assert((std::is_same<Period, std::ratio<3600> >::value), "");
microseconds.pass.cpp 23 static_assert(std::is_signed<Rep>::value, "");
24 static_assert(std::is_integral<Rep>::value, "");
25 static_assert(std::numeric_limits<Rep>::digits >= 54, "");
26 static_assert((std::is_same<Period, std::micro>::value), "");
milliseconds.pass.cpp 23 static_assert(std::is_signed<Rep>::value, "");
24 static_assert(std::is_integral<Rep>::value, "");
25 static_assert(std::numeric_limits<Rep>::digits >= 44, "");
26 static_assert((std::is_same<Period, std::milli>::value), "");
minutes.pass.cpp 23 static_assert(std::is_signed<Rep>::value, "");
24 static_assert(std::is_integral<Rep>::value, "");
25 static_assert(std::numeric_limits<Rep>::digits >= 28, "");
26 static_assert((std::is_same<Period, std::ratio<60> >::value), "");
nanoseconds.pass.cpp 23 static_assert(std::is_signed<Rep>::value, "");
24 static_assert(std::is_integral<Rep>::value, "");
25 static_assert(std::numeric_limits<Rep>::digits >= 63, "");
26 static_assert((std::is_same<Period, std::nano>::value), "");
seconds.pass.cpp 23 static_assert(std::is_signed<Rep>::value, "");
24 static_assert(std::is_integral<Rep>::value, "");
25 static_assert(std::numeric_limits<Rep>::digits >= 34, "");
26 static_assert((std::is_same<Period, std::ratio<1> >::value), "");

Completed in 947 milliseconds

<<11121314151617181920>>