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

<<11121314151617181920>>

  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/meta/meta.unary/meta.unary.prop/
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++/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++/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), "");
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/time.clock/time.clock.hires/
consistency.pass.cpp 24 static_assert((std::is_same<C::rep, C::duration::rep>::value), "");
25 static_assert((std::is_same<C::period, C::duration::period>::value), "");
26 static_assert((std::is_same<C::duration, C::time_point::duration>::value), "");
27 static_assert(C::is_steady || !C::is_steady, "");
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/time.clock/time.clock.steady/
consistency.pass.cpp 24 static_assert((std::is_same<C::rep, C::duration::rep>::value), "");
25 static_assert((std::is_same<C::period, C::duration::period>::value), "");
26 static_assert((std::is_same<C::duration, C::time_point::duration>::value), "");
27 static_assert(C::is_steady, "");
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/tuple/tuple.tuple/tuple.traits/
uses_allocator.pass.cpp 26 static_assert((std::is_base_of<std::true_type,
31 static_assert((std::is_base_of<std::true_type,
36 static_assert((std::is_base_of<std::true_type,
41 static_assert((std::is_base_of<std::true_type,
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/utility/pairs/pair.astuple/
tuple_element.pass.cpp 22 static_assert((std::is_same<std::tuple_element<0, P1>::type, int>::value), "");
23 static_assert((std::is_same<std::tuple_element<1, P1>::type, short>::value), "");
27 static_assert((std::is_same<std::tuple_element<0, P1>::type, int*>::value), "");
28 static_assert((std::is_same<std::tuple_element<1, P1>::type, char>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/test/thread/futures/futures.overview/
future_status.pass.cpp 23 static_assert(static_cast<int>(std::future_status::ready) == 0, "");
24 static_assert(static_cast<int>(std::future_status::timeout) == 1, "");
25 static_assert(static_cast<int>(std::future_status::deferred) == 2, "");
launch.pass.cpp 23 static_assert(static_cast<int>(std::launch::any) ==
25 static_assert(static_cast<int>(std::launch::async) == 1, "");
26 static_assert(static_cast<int>(std::launch::deferred) == 2, "");
  /ndk/sources/cxx-stl/llvm-libc++/test/thread/futures/futures.promise/
uses_allocator.pass.cpp 23 static_assert((std::uses_allocator<std::promise<int>, test_allocator<int> >::value), "");
24 static_assert((std::uses_allocator<std::promise<int&>, test_allocator<int> >::value), "");
25 static_assert((std::uses_allocator<std::promise<void>, test_allocator<void> >::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/func.require/
binary_function.pass.cpp 20 static_assert((std::is_same<bf::first_argument_type, int>::value), "");
21 static_assert((std::is_same<bf::second_argument_type, short>::value), "");
22 static_assert((std::is_same<bf::result_type, bool>::value), "");
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p5.cpp 55 static_assert(!noexcept(tl1()), "lambda can throw");
56 static_assert(!noexcept(tl2()), "lambda can throw");
61 static_assert(noexcept(ntl1()), "lambda cannot throw");
62 static_assert(noexcept(ntl2()), "lambda cannot throw");
63 static_assert(noexcept(ntl3()), "lambda cannot throw");
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.map/unord.map.cnstr/
default_noexcept.pass.cpp 48 static_assert(std::is_nothrow_default_constructible<C>::value, "");
53 static_assert(std::is_nothrow_default_constructible<C>::value, "");
58 static_assert(!std::is_nothrow_default_constructible<C>::value, "");
62 static_assert(!std::is_nothrow_default_constructible<C>::value, "");
67 static_assert(!std::is_nothrow_default_constructible<C>::value, "");
dtor_noexcept.pass.cpp 45 static_assert(std::is_nothrow_destructible<C>::value, "");
50 static_assert(std::is_nothrow_destructible<C>::value, "");
55 static_assert(std::is_nothrow_destructible<C>::value, "");
59 static_assert(!std::is_nothrow_destructible<C>::value, "");
64 static_assert(!std::is_nothrow_destructible<C>::value, "");
move_assign_noexcept.pass.cpp 47 static_assert(std::is_nothrow_move_assignable<C>::value, "");
52 static_assert(!std::is_nothrow_move_assignable<C>::value, "");
57 static_assert(std::is_nothrow_move_assignable<C>::value, "");
61 static_assert(!std::is_nothrow_move_assignable<C>::value, "");
66 static_assert(!std::is_nothrow_move_assignable<C>::value, "");
move_noexcept.pass.cpp 44 static_assert(std::is_nothrow_move_constructible<C>::value, "");
49 static_assert(std::is_nothrow_move_constructible<C>::value, "");
54 static_assert(std::is_nothrow_move_constructible<C>::value, "");
58 static_assert(!std::is_nothrow_move_constructible<C>::value, "");
63 static_assert(!std::is_nothrow_move_constructible<C>::value, "");
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.map/unord.map.swap/
swap_noexcept.pass.cpp 47 static_assert(noexcept(swap(c1, c2)), "");
53 static_assert(noexcept(swap(c1, c2)), "");
59 static_assert(noexcept(swap(c1, c2)), "");
64 static_assert(!noexcept(swap(c1, c2)), "");
70 static_assert(!noexcept(swap(c1, c2)), "");
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.multimap/unord.multimap.cnstr/
default_noexcept.pass.cpp 48 static_assert(std::is_nothrow_default_constructible<C>::value, "");
53 static_assert(std::is_nothrow_default_constructible<C>::value, "");
58 static_assert(!std::is_nothrow_default_constructible<C>::value, "");
62 static_assert(!std::is_nothrow_default_constructible<C>::value, "");
67 static_assert(!std::is_nothrow_default_constructible<C>::value, "");
dtor_noexcept.pass.cpp 45 static_assert(std::is_nothrow_destructible<C>::value, "");
50 static_assert(std::is_nothrow_destructible<C>::value, "");
55 static_assert(std::is_nothrow_destructible<C>::value, "");
59 static_assert(!std::is_nothrow_destructible<C>::value, "");
64 static_assert(!std::is_nothrow_destructible<C>::value, "");

Completed in 1000 milliseconds

<<11121314151617181920>>