HomeSort by relevance Sort by last modified time
    Searched refs:static_assert (Results 151 - 175 of 3811) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/clang/test/CXX/special/class.copy/
p25-0x.cpp 6 static_assert(B == __has_trivial_assign(T), "");
7 static_assert(B == __is_trivially_assignable(T&, T), "");
8 static_assert(B == __is_trivially_assignable(T&, const T &), "");
9 static_assert(B == __is_trivially_assignable(T&, T &&), "");
10 static_assert(B == __is_trivially_assignable(T&&, T), "");
11 static_assert(B == __is_trivially_assignable(T&&, const T &), "");
12 static_assert(B == __is_trivially_assignable(T&&, T &&), "");
58 static_assert(!__is_trivially_assignable(MutableTemplateCtorMember, const MutableTemplateCtorMember &), "");
59 static_assert(__is_trivially_assignable(MutableTemplateCtorMember, MutableTemplateCtorMember &&), "");
70 static_assert(!__has_trivial_assign(TNT), "lie deliberately for gcc compatibility")
    [all...]
  /external/libcxx/test/std/experimental/utilities/propagate_const/propagate_const.nonmembers/propagate_const.relops/
not_equal.pass.cpp 42 static_assert(!(x1_1 != x2_1), "");
43 static_assert(x1_1 != x3_2, "");
51 static_assert(!(p1_1 != p2_1), "");
52 static_assert(p1_1 != p3_2, "");
54 static_assert(!(x1_1 != p1_1), "");
55 static_assert(x1_1 != p3_2, "");
57 static_assert(!(p1_1 != x1_1), "");
58 static_assert(p1_1 != x3_2, "");
60 static_assert(p1_1!=nullptr,"");
61 static_assert(nullptr!=p1_1,"")
    [all...]
  /external/libcxx/test/std/thread/futures/futures.overview/
future_errc.pass.cpp 29 static_assert(std::future_errc::broken_promise != std::future_errc::future_already_retrieved, "");
30 static_assert(std::future_errc::broken_promise != std::future_errc::promise_already_satisfied, "");
31 static_assert(std::future_errc::broken_promise != std::future_errc::no_state, "");
32 static_assert(std::future_errc::future_already_retrieved != std::future_errc::promise_already_satisfied, "");
33 static_assert(std::future_errc::future_already_retrieved != std::future_errc::no_state, "");
34 static_assert(std::future_errc::promise_already_satisfied != std::future_errc::no_state, "");
36 static_assert(std::future_errc::broken_promise != static_cast<std::future_errc>(0), "");
37 static_assert(std::future_errc::future_already_retrieved != static_cast<std::future_errc>(0), "");
38 static_assert(std::future_errc::promise_already_satisfied != static_cast<std::future_errc>(0), "");
39 static_assert(std::future_errc::no_state != static_cast<std::future_errc>(0), "")
    [all...]
  /external/libcxx/test/std/utilities/meta/meta.logical/
negation.pass.cpp 25 static_assert (!std::negation<std::true_type >::value, "" );
26 static_assert ( std::negation<std::false_type>::value, "" );
28 static_assert (!std::negation_v<std::true_type >, "" );
29 static_assert ( std::negation_v<std::false_type>, "" );
31 static_assert (!std::negation<True >::value, "" );
32 static_assert ( std::negation<False>::value, "" );
34 static_assert (!std::negation_v<True >, "" );
35 static_assert ( std::negation_v<False>, "" );
37 static_assert ( std::negation<std::negation<std::true_type >>::value, "" );
38 static_assert (!std::negation<std::negation<std::false_type>>::value, "" )
    [all...]
  /external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
is_const.pass.cpp 20 static_assert(!std::is_const<T>::value, "");
21 static_assert( std::is_const<const T>::value, "");
22 static_assert(!std::is_const<volatile T>::value, "");
23 static_assert( std::is_const<const volatile T>::value, "");
25 static_assert(!std::is_const_v<T>, "");
26 static_assert( std::is_const_v<const T>, "");
27 static_assert(!std::is_const_v<volatile T>, "");
28 static_assert( std::is_const_v<const volatile T>, "");
46 static_assert(!std::is_const<int&>::value, "");
47 static_assert(!std::is_const<const int&>::value, "")
    [all...]
is_volatile.pass.cpp 20 static_assert(!std::is_volatile<T>::value, "");
21 static_assert(!std::is_volatile<const T>::value, "");
22 static_assert( std::is_volatile<volatile T>::value, "");
23 static_assert( std::is_volatile<const volatile T>::value, "");
25 static_assert(!std::is_volatile_v<T>, "");
26 static_assert(!std::is_volatile_v<const T>, "");
27 static_assert( std::is_volatile_v<volatile T>, "");
28 static_assert( std::is_volatile_v<const volatile T>, "");
46 static_assert(!std::is_volatile<int&>::value, "");
47 static_assert(!std::is_volatile<volatile int&>::value, "")
    [all...]
  /external/libcxx/test/std/utilities/time/time.cal/time.cal.wdidx/time.cal.wdidx.nonmembers/
comparisons.pass.cpp 34 static_assert( (weekday_indexed{} == weekday_indexed{}), "");
35 static_assert(!(weekday_indexed{} != weekday_indexed{}), "");
37 static_assert(!(weekday_indexed{} == weekday_indexed{std::chrono::Tuesday, 1}), "");
38 static_assert( (weekday_indexed{} != weekday_indexed{std::chrono::Tuesday, 1}), "");
41 static_assert( (weekday_indexed{weekday{1}, 2} == weekday_indexed{weekday{1}, 2}), "");
42 static_assert(!(weekday_indexed{weekday{1}, 2} != weekday_indexed{weekday{1}, 2}), "");
44 static_assert(!(weekday_indexed{weekday{1}, 2} == weekday_indexed{weekday{1}, 1}), "");
45 static_assert( (weekday_indexed{weekday{1}, 2} != weekday_indexed{weekday{1}, 1}), "");
46 static_assert(!(weekday_indexed{weekday{1}, 2} == weekday_indexed{weekday{2}, 2}), "");
47 static_assert( (weekday_indexed{weekday{1}, 2} != weekday_indexed{weekday{2}, 2}), "")
    [all...]
  /external/libcxx/test/support/test.support/
test_convertible_header.pass.cpp 19 static_assert(test_convertible<ImplicitDefault>(), "Must be convertible");
24 static_assert(!test_convertible<ExplicitDefault>(), "Must not be convertible");
29 static_assert(test_convertible<ImplicitInt, int>(), "Must be convertible");
34 static_assert(!test_convertible<ExplicitInt, int>(), "Must not be convertible");
39 static_assert(test_convertible<ImplicitCopy, ImplicitCopy>(), "Must be convertible");
44 static_assert(!test_convertible<ExplicitCopy, ExplicitCopy>(), "Must not be convertible");
49 static_assert(test_convertible<ImplicitMove, ImplicitMove>(), "Must be convertible");
54 static_assert(!test_convertible<ExplicitMove, ExplicitMove>(), "Must not be convertible");
59 static_assert(test_convertible<ImplicitArgs, int, int, int>(), "Must be convertible");
64 static_assert(!test_convertible<ExplicitArgs, int, int, int>(), "Must not be convertible")
    [all...]
  /external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/
empty_member.pass.cpp 28 static_assert((sizeof(T) == sizeof(int)), "");
32 static_assert((sizeof(T) == sizeof(int)), "");
36 static_assert((sizeof(T) == sizeof(int)), "");
40 static_assert((sizeof(T) == sizeof(int)), "");
44 static_assert((sizeof(T) == sizeof(int)), "");
  /external/libcxx/test/std/iterators/stream.iterators/ostreambuf.iterator/
types.pass.cpp 33 static_assert((std::is_convertible<I1,
36 static_assert((std::is_same<I1::iterator_category, std::output_iterator_tag>::value), "");
37 static_assert((std::is_same<I1::value_type, void>::value), "");
38 static_assert((std::is_same<I1::difference_type, void>::value), "");
39 static_assert((std::is_same<I1::pointer, void>::value), "");
40 static_assert((std::is_same<I1::reference, void>::value), "");
42 static_assert((std::is_same<I1::char_type, char>::value), "");
43 static_assert((std::is_same<I1::traits_type, std::char_traits<char> >::value), "");
44 static_assert((std::is_same<I1::streambuf_type, std::streambuf>::value), "");
45 static_assert((std::is_same<I1::ostream_type, std::ostream>::value), "")
    [all...]
  /external/libcxx/test/std/language.support/support.types/byteops/
lshift.pass.cpp 24 static_assert(noexcept(b3 << 2), "" );
26 static_assert(std::to_integer<int>(b1 << 1) == 2, "");
27 static_assert(std::to_integer<int>(b1 << 2) == 4, "");
28 static_assert(std::to_integer<int>(b3 << 4) == 48, "");
29 static_assert(std::to_integer<int>(b3 << 6) == 192, "");
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
dtor.pass.cpp 29 static_assert(std::is_trivially_destructible<
31 static_assert(std::is_trivially_destructible<
33 static_assert(std::is_trivially_destructible<
35 static_assert(!std::is_trivially_destructible<
37 static_assert(!std::is_trivially_destructible<
  /external/libcxx/test/libcxx/strings/
iterators.exceptions.pass.cpp 40 static_assert(( std::__libcpp_string_gets_noexcept_iterator<char *>::value), "");
41 static_assert(( std::__libcpp_string_gets_noexcept_iterator<const char *>::value), "");
43 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::move_iterator<char *> > ::value), "");
44 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::move_iterator<const char *> >::value), "");
45 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::reverse_iterator<char *> > ::value), "");
46 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::reverse_iterator<const char *> >::value), "");
48 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::__wrap_iter<char *> > ::value), "");
49 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::__wrap_iter<const char *> >::value), "");
51 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::reverse_iterator<std::__wrap_iter<char *> > > ::value), "");
54 static_assert(std::__libcpp_string_gets_noexcept_iterator<output_iterator <char *> >::value == expected, " (…)
    [all...]
  /external/libcxx/test/std/utilities/meta/meta.rel/
is_convertible.pass.cpp 20 static_assert((std::is_convertible<T, U>::value), "");
21 static_assert((std::is_convertible<const T, U>::value), "");
22 static_assert((std::is_convertible<T, const U>::value), "");
23 static_assert((std::is_convertible<const T, const U>::value), "");
25 static_assert((std::is_convertible_v<T, U>), "");
26 static_assert((std::is_convertible_v<const T, U>), "");
27 static_assert((std::is_convertible_v<T, const U>), "");
28 static_assert((std::is_convertible_v<const T, const U>), "");
35 static_assert((!std::is_convertible<T, U>::value), "");
36 static_assert((!std::is_convertible<const T, U>::value), "")
    [all...]
  /external/libchrome/mojo/public/cpp/bindings/tests/
constant_unittest.cc 16 static_assert(kBoolValue == true, "");
17 static_assert(kInt8Value == -2, "");
18 static_assert(kUint8Value == 128U, "");
19 static_assert(kInt16Value == -233, "");
20 static_assert(kUint16Value == 44204U, "");
21 static_assert(kInt32Value == -44204, "");
22 static_assert(kUint32Value == 4294967295U, "");
23 static_assert(kInt64Value == -9223372036854775807, "");
24 static_assert(kUint64Value == 9999999999999999999ULL, "");
25 static_assert(kDoubleValue == 3.14159, "")
    [all...]
  /external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
array.pass.cpp 20 static_assert(!std::is_void<T>::value, "");
22 static_assert(!std::is_null_pointer<T>::value, "");
24 static_assert(!std::is_integral<T>::value, "");
25 static_assert(!std::is_floating_point<T>::value, "");
26 static_assert( std::is_array<T>::value, "");
27 static_assert(!std::is_pointer<T>::value, "");
28 static_assert(!std::is_lvalue_reference<T>::value, "");
29 static_assert(!std::is_rvalue_reference<T>::value, "");
30 static_assert(!std::is_member_object_pointer<T>::value, "");
31 static_assert(!std::is_member_function_pointer<T>::value, "")
    [all...]
class.pass.cpp 20 static_assert(!std::is_void<T>::value, "");
22 static_assert(!std::is_null_pointer<T>::value, "");
24 static_assert(!std::is_integral<T>::value, "");
25 static_assert(!std::is_floating_point<T>::value, "");
26 static_assert(!std::is_array<T>::value, "");
27 static_assert(!std::is_pointer<T>::value, "");
28 static_assert(!std::is_lvalue_reference<T>::value, "");
29 static_assert(!std::is_rvalue_reference<T>::value, "");
30 static_assert(!std::is_member_object_pointer<T>::value, "");
31 static_assert(!std::is_member_function_pointer<T>::value, "")
    [all...]
enum.pass.cpp 20 static_assert(!std::is_void<T>::value, "");
22 static_assert(!std::is_null_pointer<T>::value, "");
24 static_assert(!std::is_integral<T>::value, "");
25 static_assert(!std::is_floating_point<T>::value, "");
26 static_assert(!std::is_array<T>::value, "");
27 static_assert(!std::is_pointer<T>::value, "");
28 static_assert(!std::is_lvalue_reference<T>::value, "");
29 static_assert(!std::is_rvalue_reference<T>::value, "");
30 static_assert(!std::is_member_object_pointer<T>::value, "");
31 static_assert(!std::is_member_function_pointer<T>::value, "")
    [all...]
floating_point.pass.cpp 20 static_assert(!std::is_void<T>::value, "");
22 static_assert(!std::is_null_pointer<T>::value, "");
24 static_assert(!std::is_integral<T>::value, "");
25 static_assert( std::is_floating_point<T>::value, "");
26 static_assert(!std::is_array<T>::value, "");
27 static_assert(!std::is_pointer<T>::value, "");
28 static_assert(!std::is_lvalue_reference<T>::value, "");
29 static_assert(!std::is_rvalue_reference<T>::value, "");
30 static_assert(!std::is_member_object_pointer<T>::value, "");
31 static_assert(!std::is_member_function_pointer<T>::value, "")
    [all...]
integral.pass.cpp 20 static_assert(!std::is_void<T>::value, "");
22 static_assert(!std::is_null_pointer<T>::value, "");
24 static_assert( std::is_integral<T>::value, "");
25 static_assert(!std::is_floating_point<T>::value, "");
26 static_assert(!std::is_array<T>::value, "");
27 static_assert(!std::is_pointer<T>::value, "");
28 static_assert(!std::is_lvalue_reference<T>::value, "");
29 static_assert(!std::is_rvalue_reference<T>::value, "");
30 static_assert(!std::is_member_object_pointer<T>::value, "");
31 static_assert(!std::is_member_function_pointer<T>::value, "")
    [all...]
lvalue_ref.pass.cpp 21 static_assert(!std::is_void<T>::value, "");
23 static_assert(!std::is_null_pointer<T>::value, "");
25 static_assert(!std::is_integral<T>::value, "");
26 static_assert(!std::is_floating_point<T>::value, "");
27 static_assert(!std::is_array<T>::value, "");
28 static_assert(!std::is_pointer<T>::value, "");
29 static_assert( std::is_lvalue_reference<T>::value, "");
30 static_assert(!std::is_rvalue_reference<T>::value, "");
31 static_assert(!std::is_member_object_pointer<T>::value, "");
32 static_assert(!std::is_member_function_pointer<T>::value, "")
    [all...]
member_object_pointer.pass.cpp 20 static_assert(!std::is_void<T>::value, "");
22 static_assert(!std::is_null_pointer<T>::value, "");
24 static_assert(!std::is_integral<T>::value, "");
25 static_assert(!std::is_floating_point<T>::value, "");
26 static_assert(!std::is_array<T>::value, "");
27 static_assert(!std::is_pointer<T>::value, "");
28 static_assert(!std::is_lvalue_reference<T>::value, "");
29 static_assert(!std::is_rvalue_reference<T>::value, "");
30 static_assert( std::is_member_object_pointer<T>::value, "");
31 static_assert(!std::is_member_function_pointer<T>::value, "")
    [all...]
nullptr.pass.cpp 23 static_assert(!std::is_void<T>::value, "");
24 static_assert( std::is_null_pointer<T>::value, "");
25 static_assert(!std::is_integral<T>::value, "");
26 static_assert(!std::is_floating_point<T>::value, "");
27 static_assert(!std::is_array<T>::value, "");
28 static_assert(!std::is_pointer<T>::value, "");
29 static_assert(!std::is_lvalue_reference<T>::value, "");
30 static_assert(!std::is_rvalue_reference<T>::value, "");
31 static_assert(!std::is_member_object_pointer<T>::value, "");
32 static_assert(!std::is_member_function_pointer<T>::value, "")
    [all...]
pointer.pass.cpp 21 static_assert(!std::is_void<T>::value, "");
23 static_assert(!std::is_null_pointer<T>::value, "");
25 static_assert(!std::is_integral<T>::value, "");
26 static_assert(!std::is_floating_point<T>::value, "");
27 static_assert(!std::is_array<T>::value, "");
28 static_assert( std::is_pointer<T>::value, "");
29 static_assert(!std::is_lvalue_reference<T>::value, "");
30 static_assert(!std::is_rvalue_reference<T>::value, "");
31 static_assert(!std::is_member_object_pointer<T>::value, "");
32 static_assert(!std::is_member_function_pointer<T>::value, "")
    [all...]
rvalue_ref.pass.cpp 22 static_assert(!std::is_void<T>::value, "");
24 static_assert(!std::is_null_pointer<T>::value, "");
26 static_assert(!std::is_integral<T>::value, "");
27 static_assert(!std::is_floating_point<T>::value, "");
28 static_assert(!std::is_array<T>::value, "");
29 static_assert(!std::is_pointer<T>::value, "");
30 static_assert(!std::is_lvalue_reference<T>::value, "");
31 static_assert( std::is_rvalue_reference<T>::value, "");
32 static_assert(!std::is_member_object_pointer<T>::value, "");
33 static_assert(!std::is_member_function_pointer<T>::value, "")
    [all...]

Completed in 473 milliseconds

1 2 3 4 5 67 8 91011>>