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

<<11121314151617181920>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/unord.set.cnstr/
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++/libcxx/test/containers/unord/unord.set/unord.set.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++/libcxx/test/language.support/support.limits/limits/
is_specialized.pass.cpp 33 static_assert(std::numeric_limits<T>::is_specialized,
35 static_assert(std::numeric_limits<const T>::is_specialized,
37 static_assert(std::numeric_limits<volatile T>::is_specialized,
39 static_assert(std::numeric_limits<const volatile T>::is_specialized,
65 static_assert(!std::numeric_limits<std::complex<double> >::is_specialized,
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/
types_char.pass.cpp 31 static_assert((std::is_base_of<std::locale::facet, F>::value), "");
32 static_assert((std::is_base_of<std::codecvt_base, F>::value), "");
33 static_assert((std::is_same<F::intern_type, char>::value), "");
34 static_assert((std::is_same<F::extern_type, char>::value), "");
35 static_assert((std::is_same<F::state_type, std::mbstate_t>::value), "");
types_char16_t.pass.cpp 32 static_assert((std::is_base_of<std::locale::facet, F>::value), "");
33 static_assert((std::is_base_of<std::codecvt_base, F>::value), "");
34 static_assert((std::is_same<F::intern_type, char16_t>::value), "");
35 static_assert((std::is_same<F::extern_type, char>::value), "");
36 static_assert((std::is_same<F::state_type, std::mbstate_t>::value), "");
types_char32_t.pass.cpp 32 static_assert((std::is_base_of<std::locale::facet, F>::value), "");
33 static_assert((std::is_base_of<std::codecvt_base, F>::value), "");
34 static_assert((std::is_same<F::intern_type, char32_t>::value), "");
35 static_assert((std::is_same<F::extern_type, char>::value), "");
36 static_assert((std::is_same<F::state_type, std::mbstate_t>::value), "");
types_wchar_t.pass.cpp 31 static_assert((std::is_base_of<std::locale::facet, F>::value), "");
32 static_assert((std::is_base_of<std::codecvt_base, F>::value), "");
33 static_assert((std::is_same<F::intern_type, wchar_t>::value), "");
34 static_assert((std::is_same<F::extern_type, char>::value), "");
35 static_assert((std::is_same<F::state_type, std::mbstate_t>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.clock/time.clock.system/
consistency.pass.cpp 29 static_assert((std::is_same<C::rep, C::duration::rep>::value), "");
30 static_assert((std::is_same<C::period, C::duration::period>::value), "");
31 static_assert((std::is_same<C::duration, C::time_point::duration>::value), "");
32 static_assert((std::is_same<C::time_point::clock, C>::value), "");
33 static_assert((C::is_steady || !C::is_steady), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/ratio/ratio.arithmetic/
ratio_divide.pass.cpp 20 static_assert(R::num == 1 && R::den == 1, "");
26 static_assert(R::num == 1 && R::den == 2, "");
32 static_assert(R::num == -1 && R::den == 2, "");
38 static_assert(R::num == -1 && R::den == 2, "");
44 static_assert(R::num == -1 && R::den == 2, "");
50 static_assert(R::num == -1 && R::den == 2, "");
56 static_assert(R::num == 630992477165LL && R::den == 127339199162436LL, "");
ratio_multiply.pass.cpp 20 static_assert(R::num == 1 && R::den == 1, "");
26 static_assert(R::num == 1 && R::den == 2, "");
32 static_assert(R::num == -1 && R::den == 2, "");
38 static_assert(R::num == -1 && R::den == 2, "");
44 static_assert(R::num == -1 && R::den == 2, "");
50 static_assert(R::num == -1 && R::den == 2, "");
56 static_assert(R::num == 15519594064236LL && R::den == 5177331081415LL, "");
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
p5.cpp 19 static_assert(f(0) == 0, "");
20 static_assert(f('0') == 1, "");
21 static_assert(g1() == 0, "");
22 static_assert(g2(0) == 1, "");
23 static_assert(g2(1) == 1, "");
24 static_assert(g3(0) == 1, "");
25 static_assert(g3(1) == 1, "");
26 static_assert(N::h() == 5, "");
27 static_assert(g4() == 5, "");
85 static_assert(BcpCall(0), "")
    [all...]
  /external/clang/test/CXX/expr/expr.prim/expr.prim.general/
p3-0x.cpp 15 static_assert(!noexcept(a.g1()), "exception-specification failure");
16 static_assert(noexcept(a.g2()), "exception-specification failure");
52 static_assert(!noexcept(ci.g1()), "exception-specification failure");
53 static_assert(noexcept(ci.g2()), "exception-specification failure");
54 static_assert(!noexcept(ci.g3()), "exception-specification failure");
55 static_assert(noexcept(ci.g4()), "exception-specification failure");
56 static_assert(!noexcept(ci.g5()), "exception-specification failure");
57 static_assert(noexcept(ci.g6()), "exception-specification failure");
58 static_assert(!noexcept(ci.g7()), "exception-specification failure");
59 static_assert(noexcept(ci.g8()), "exception-specification failure")
    [all...]
  /external/clang/test/CXX/special/class.copy/
p13-0x.cpp 89 static_assert(__is_literal_type(U), "");
90 static_assert(!__is_literal_type(V), "");
91 static_assert(!__is_literal_type(W), "");
92 static_assert(__is_literal_type(S<U>), "");
93 static_assert(!__is_literal_type(S<V>), "");
94 static_assert(!__is_literal_type(S<W>), "");
  /external/clang/test/CXX/temp/temp.decls/temp.variadic/
fixed-expansion.cpp 29 static_assert(is_same<X1<int, int>::type,
33 static_assert(is_same<X1<int, int, float>::type,
37 static_assert(is_same<X1<int, int, float, double>::type,
55 static_assert(is_same<X1<int>::type,
59 static_assert(is_same<X1<int, float>::type,
63 static_assert(is_same<X1<int, float, double>::type,
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p14.cpp 51 static_assert(sizeof(x) == sizeof(ExpectedArrayLayout), "layout mismatch");
66 static_assert(sizeof(x) == sizeof(ExpectedLayout), "Layout mismatch!");
73 static_assert(sizeof(x) == sizeof(ExpectedThisLayout), "Layout mismatch!");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.function.objects/depr.base/
binary_function.pass.cpp 25 static_assert((std::is_same<std::binary_function<int, unsigned, char>::first_argument_type, int>::value), "");
26 static_assert((std::is_same<std::binary_function<int, unsigned, char>::second_argument_type, unsigned>::value), "");
27 static_assert((std::is_same<std::binary_function<int, unsigned, char>::result_type, char>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.types/
ptrdiff_t.pass.cpp 21 static_assert(sizeof(std::ptrdiff_t) == sizeof(void*),
23 static_assert(std::is_signed<std::ptrdiff_t>::value,
25 static_assert(std::is_integral<std::ptrdiff_t>::value,
size_t.pass.cpp 21 static_assert(sizeof(std::size_t) == sizeof(void*),
23 static_assert(std::is_unsigned<std::size_t>::value,
25 static_assert(std::is_integral<std::size_t>::value,
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/
types.pass.cpp 34 static_assert((std::is_same<std::ctype<char>::char_type, char>::value), "");
35 static_assert((std::is_base_of<std::ctype_base, std::ctype<char> >::value), "");
36 static_assert((std::is_base_of<std::locale::facet, std::ctype<char> >::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.ctype/
types.pass.cpp 34 static_assert((std::is_same<std::ctype<wchar_t>::char_type, wchar_t>::value), "");
35 static_assert((std::is_base_of<std::ctype_base, std::ctype<wchar_t> >::value), "");
36 static_assert((std::is_base_of<std::locale::facet, std::ctype<wchar_t> >::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.cons/
default_noexcept.pass.cpp 34 static_assert(std::is_nothrow_default_constructible<C>::value, "");
38 static_assert(std::is_nothrow_default_constructible<C>::value, "");
42 static_assert(!std::is_nothrow_default_constructible<C>::value, "");
dtor_noexcept.pass.cpp 36 static_assert(std::is_nothrow_destructible<C>::value, "");
40 static_assert(std::is_nothrow_destructible<C>::value, "");
44 static_assert(!std::is_nothrow_destructible<C>::value, "");
move_assign_noexcept.pass.cpp 36 static_assert(std::is_nothrow_move_assignable<C>::value, "");
40 static_assert(!std::is_nothrow_move_assignable<C>::value, "");
44 static_assert(!std::is_nothrow_move_assignable<C>::value, "");
move_noexcept.pass.cpp 34 static_assert(std::is_nothrow_move_constructible<C>::value, "");
38 static_assert(std::is_nothrow_move_constructible<C>::value, "");
42 static_assert(!std::is_nothrow_move_constructible<C>::value, "");

Completed in 549 milliseconds

<<11121314151617181920>>