HomeSort by relevance Sort by last modified time
    Searched refs:static_assert (Results 101 - 125 of 5247) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/libcxx/test/std/utilities/optional/optional.nullops/
less_than.pass.cpp 31 static_assert ( !(nullopt < o1), "" );
32 static_assert ( (nullopt < o2), "" );
33 static_assert ( !(o1 < nullopt), "" );
34 static_assert ( !(o2 < nullopt), "" );
36 static_assert (noexcept(nullopt < o1), "");
37 static_assert (noexcept(o1 < nullopt), "");
not_equal.pass.cpp 31 static_assert ( !(nullopt != o1), "" );
32 static_assert ( (nullopt != o2), "" );
33 static_assert ( !(o1 != nullopt), "" );
34 static_assert ( (o2 != nullopt), "" );
36 static_assert (noexcept(nullopt != o1), "");
37 static_assert (noexcept(o1 != nullopt), "");
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/
tuple_size_value_sfinae.pass.cpp 33 static_assert(has_value<std::tuple<int> const>(), "");
34 static_assert(has_value<std::pair<int, long> volatile>(), "");
35 static_assert(!has_value<int>(), "");
36 static_assert(!has_value<const int>(), "");
37 static_assert(!has_value<volatile void>(), "");
38 static_assert(!has_value<const volatile std::tuple<int>&>(), "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/localization/locale.categories/category.monetary/locale.moneypunct/
money_base.pass.cpp 25 static_assert(std::money_base::none == 0, "");
26 static_assert(std::money_base::space == 1, "");
27 static_assert(std::money_base::symbol == 2, "");
28 static_assert(std::money_base::sign == 3, "");
29 static_assert(std::money_base::value == 4, "");
30 static_assert(sizeof(std::money_base::pattern) == 4, "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/arithmetic.operations/
transparent.pass.cpp 28 static_assert ( !is_transparent<std::plus<int>>::value, "" );
29 static_assert ( !is_transparent<std::plus<std::string>>::value, "" );
30 static_assert ( is_transparent<std::plus<void>>::value, "" );
31 static_assert ( is_transparent<std::plus<>>::value, "" );
33 static_assert ( !is_transparent<std::minus<int>>::value, "" );
34 static_assert ( !is_transparent<std::minus<std::string>>::value, "" );
35 static_assert ( is_transparent<std::minus<void>>::value, "" );
36 static_assert ( is_transparent<std::minus<>>::value, "" );
38 static_assert ( !is_transparent<std::multiplies<int>>::value, "" );
39 static_assert ( !is_transparent<std::multiplies<std::string>>::value, "" )
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/comparisons/
transparent.pass.cpp 28 static_assert ( !is_transparent<std::less<int>>::value, "" );
29 static_assert ( !is_transparent<std::less<std::string>>::value, "" );
30 static_assert ( is_transparent<std::less<void>>::value, "" );
31 static_assert ( is_transparent<std::less<>>::value, "" );
33 static_assert ( !is_transparent<std::less_equal<int>>::value, "" );
34 static_assert ( !is_transparent<std::less_equal<std::string>>::value, "" );
35 static_assert ( is_transparent<std::less_equal<void>>::value, "" );
36 static_assert ( is_transparent<std::less_equal<>>::value, "" );
38 static_assert ( !is_transparent<std::equal_to<int>>::value, "" );
39 static_assert ( !is_transparent<std::equal_to<std::string>>::value, "" )
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.nullops/
equal.pass.cpp 31 static_assert ( (nullopt == o1), "" );
32 static_assert ( !(nullopt == o2), "" );
33 static_assert ( (o1 == nullopt), "" );
34 static_assert ( !(o2 == nullopt), "" );
36 static_assert (noexcept(nullopt == o1), "");
37 static_assert (noexcept(o1 == nullopt), "");
greater.pass.cpp 31 static_assert ( !(nullopt > o1), "" );
32 static_assert ( !(nullopt > o2), "" );
33 static_assert ( !(o1 > nullopt), "" );
34 static_assert ( (o2 > nullopt), "" );
36 static_assert (noexcept(nullopt > o1), "");
37 static_assert (noexcept(o1 > nullopt), "");
greater_equal.pass.cpp 31 static_assert ( (nullopt >= o1), "" );
32 static_assert ( !(nullopt >= o2), "" );
33 static_assert ( (o1 >= nullopt), "" );
34 static_assert ( (o2 >= nullopt), "" );
36 static_assert (noexcept(nullopt >= o1), "");
37 static_assert (noexcept(o1 >= nullopt), "");
less_equal.pass.cpp 32 static_assert ( (nullopt <= o1), "" );
33 static_assert ( (nullopt <= o2), "" );
34 static_assert ( (o1 <= nullopt), "" );
35 static_assert ( !(o2 <= nullopt), "" );
37 static_assert (noexcept(nullopt <= o1), "");
38 static_assert (noexcept(o1 <= nullopt), "");
less_than.pass.cpp 31 static_assert ( !(nullopt < o1), "" );
32 static_assert ( (nullopt < o2), "" );
33 static_assert ( !(o1 < nullopt), "" );
34 static_assert ( !(o2 < nullopt), "" );
36 static_assert (noexcept(nullopt < o1), "");
37 static_assert (noexcept(o1 < nullopt), "");
not_equal.pass.cpp 31 static_assert ( !(nullopt != o1), "" );
32 static_assert ( (nullopt != o2), "" );
33 static_assert ( !(o1 != nullopt), "" );
34 static_assert ( (o2 != nullopt), "" );
36 static_assert (noexcept(nullopt != o1), "");
37 static_assert (noexcept(o1 != nullopt), "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.tuple/tuple.helper/
tuple_size_value_sfinae.pass.cpp 33 static_assert(has_value<std::tuple<int> const>(), "");
34 static_assert(has_value<std::pair<int, long> volatile>(), "");
35 static_assert(!has_value<int>(), "");
36 static_assert(!has_value<const int>(), "");
37 static_assert(!has_value<volatile void>(), "");
38 static_assert(!has_value<const volatile std::tuple<int>&>(), "");
  /external/clang/test/CodeGenCXX/
aarch64-aapcs-zerolength-bitfield.cpp 14 static_assert(offsetof(struct t1, bar) == 1);
15 static_assert(sizeof(struct t1) == 4);
23 static_assert(offsetof(struct t2, bar) == 2);
24 static_assert(sizeof(struct t2) == 4);
32 static_assert(offsetof(struct t3, bar) == 4);
33 static_assert(sizeof(struct t3) == 8);
41 static_assert(offsetof(struct t4, bar) == 8);
42 static_assert(sizeof(struct t4) == 16);
50 static_assert(offsetof(struct t5, bar) == 8);
51 static_assert(sizeof(struct t5) == 16)
    [all...]
  /external/clang/test/SemaCXX/
constexpr-steps.cpp 16 static_assert(steps((MAX - 4)), ""); // ok
17 static_assert(steps((MAX - 3)), ""); // expected-error {{constant}} expected-note{{call}}
trivial-constructor.cpp 5 static_assert(__has_trivial_constructor(T1), "T1 has trivial constructor!");
10 static_assert(!__has_trivial_constructor(T2), "T2 has a user-declared constructor!");
15 static_assert(!__has_trivial_constructor(T3), "T3 has a virtual function!");
19 static_assert(!__has_trivial_constructor(T4), "T4 has a virtual base class!");
23 static_assert(__has_trivial_constructor(T5), "All the direct base classes of T5 have trivial constructors!");
30 static_assert(__has_trivial_constructor(T6), "All nonstatic data members of T6 have trivial constructors!");
35 static_assert(!__has_trivial_constructor(T7), "t4 does not have a trivial constructor!");
39 static_assert(!__has_trivial_constructor(T8), "The base class T2 does not have a trivial constructor!");
trivial-destructor.cpp 5 static_assert(__has_trivial_destructor(T1), "T1 has trivial destructor!");
10 static_assert(!__has_trivial_destructor(T2), "T2 has a user-declared destructor!");
15 static_assert(__has_trivial_destructor(T3), "T3 has a virtual function (but still a trivial destructor)!");
19 static_assert(__has_trivial_destructor(T4), "T4 has a virtual base class! (but still a trivial destructor)!");
23 static_assert(__has_trivial_destructor(T5), "All the direct base classes of T5 have trivial destructors!");
30 static_assert(__has_trivial_destructor(T6), "All nonstatic data members of T6 have trivial destructors!");
35 static_assert(!__has_trivial_destructor(T7), "t2 does not have a trivial destructor!");
39 static_assert(!__has_trivial_destructor(T8), "The base class T2 does not have a trivial destructor!");
  /external/libcxx/test/std/input.output/iostreams.base/
is_error_code_enum_io_errc.pass.cpp 21 static_assert(std::is_error_code_enum <std::io_errc>::value, "");
23 static_assert(std::is_error_code_enum_v<std::io_errc>, "");
  /external/libcxx/test/std/numerics/rand/rand.eng/rand.eng.mers/
values.pass.cpp 52 static_assert((E::word_size == 32), "");
53 static_assert((E::state_size == 624), "");
54 static_assert((E::shift_size == 397), "");
55 static_assert((E::mask_bits == 31), "");
56 static_assert((E::xor_mask == 0x9908b0df), "");
57 static_assert((E::tempering_u == 11), "");
58 static_assert((E::tempering_d == 0xffffffff), "");
59 static_assert((E::tempering_s == 7), "");
60 static_assert((E::tempering_b == 0x9d2c5680), "");
61 static_assert((E::tempering_t == 15), "")
    [all...]
  /external/libcxx/test/std/thread/futures/futures.overview/
is_error_code_enum_future_errc.pass.cpp 21 static_assert(std::is_error_code_enum <std::future_errc>::value, "");
23 static_assert(std::is_error_code_enum_v<std::future_errc>, "");
  /external/libcxx/test/std/utilities/meta/meta.help/
bool_constant.pass.cpp 23 static_assert(_t::value, "");
24 static_assert((std::is_same<_t::value_type, bool>::value), "");
25 static_assert((std::is_same<_t::type, _t>::value), "");
26 static_assert((_t() == true), "");
29 static_assert(!_f::value, "");
30 static_assert((std::is_same<_f::value_type, bool>::value), "");
31 static_assert((std::is_same<_f::type, _f>::value), "");
32 static_assert((_f() == false), "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/experimental/any/
size_and_alignment.pass.cpp 21 static_assert(sizeof(any) == sizeof(void*)*4, "");
22 static_assert(alignof(any) == alignof(void*), "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/input.output/iostreams.base/
is_error_code_enum_io_errc.pass.cpp 21 static_assert(std::is_error_code_enum <std::io_errc>::value, "");
23 static_assert(std::is_error_code_enum_v<std::io_errc>, "");
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/rand/rand.eng/rand.eng.mers/
values.pass.cpp 52 static_assert((E::word_size == 32), "");
53 static_assert((E::state_size == 624), "");
54 static_assert((E::shift_size == 397), "");
55 static_assert((E::mask_bits == 31), "");
56 static_assert((E::xor_mask == 0x9908b0df), "");
57 static_assert((E::tempering_u == 11), "");
58 static_assert((E::tempering_d == 0xffffffff), "");
59 static_assert((E::tempering_s == 7), "");
60 static_assert((E::tempering_b == 0x9d2c5680), "");
61 static_assert((E::tempering_t == 15), "")
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/futures/futures.overview/
is_error_code_enum_future_errc.pass.cpp 21 static_assert(std::is_error_code_enum <std::future_errc>::value, "");
23 static_assert(std::is_error_code_enum_v<std::future_errc>, "");

Completed in 388 milliseconds

1 2 3 45 6 7 8 91011>>