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

1 2 3 45 6 7 8 91011>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/
is_default_constructible.pass.cpp 19 static_assert( std::is_default_constructible<T>::value, "");
20 static_assert( std::is_default_constructible<const T>::value, "");
21 static_assert( std::is_default_constructible<volatile T>::value, "");
22 static_assert( std::is_default_constructible<const volatile T>::value, "");
28 static_assert(!std::is_default_constructible<T>::value, "");
29 static_assert(!std::is_default_constructible<const T>::value, "");
30 static_assert(!std::is_default_constructible<volatile T>::value, "");
31 static_assert(!std::is_default_constructible<const volatile T>::value, "");
is_destructible.pass.cpp 19 static_assert( std::is_destructible<T>::value, "");
20 static_assert( std::is_destructible<const T>::value, "");
21 static_assert( std::is_destructible<volatile T>::value, "");
22 static_assert( std::is_destructible<const volatile T>::value, "");
28 static_assert(!std::is_destructible<T>::value, "");
29 static_assert(!std::is_destructible<const T>::value, "");
30 static_assert(!std::is_destructible<volatile T>::value, "");
31 static_assert(!std::is_destructible<const volatile T>::value, "");
is_empty.pass.cpp 19 static_assert( std::is_empty<T>::value, "");
20 static_assert( std::is_empty<const T>::value, "");
21 static_assert( std::is_empty<volatile T>::value, "");
22 static_assert( std::is_empty<const volatile T>::value, "");
28 static_assert(!std::is_empty<T>::value, "");
29 static_assert(!std::is_empty<const T>::value, "");
30 static_assert(!std::is_empty<volatile T>::value, "");
31 static_assert(!std::is_empty<const volatile T>::value, "");
is_nothrow_default_constructible.pass.cpp 19 static_assert( std::is_nothrow_default_constructible<T>::value, "");
20 static_assert( std::is_nothrow_default_constructible<const T>::value, "");
21 static_assert( std::is_nothrow_default_constructible<volatile T>::value, "");
22 static_assert( std::is_nothrow_default_constructible<const volatile T>::value, "");
28 static_assert(!std::is_nothrow_default_constructible<T>::value, "");
29 static_assert(!std::is_nothrow_default_constructible<const T>::value, "");
30 static_assert(!std::is_nothrow_default_constructible<volatile T>::value, "");
31 static_assert(!std::is_nothrow_default_constructible<const volatile T>::value, "");
is_pod.pass.cpp 19 static_assert( std::is_pod<T>::value, "");
20 static_assert( std::is_pod<const T>::value, "");
21 static_assert( std::is_pod<volatile T>::value, "");
22 static_assert( std::is_pod<const volatile T>::value, "");
28 static_assert(!std::is_pod<T>::value, "");
29 static_assert(!std::is_pod<const T>::value, "");
30 static_assert(!std::is_pod<volatile T>::value, "");
31 static_assert(!std::is_pod<const volatile T>::value, "");
is_signed.pass.cpp 19 static_assert( std::is_signed<T>::value, "");
20 static_assert( std::is_signed<const T>::value, "");
21 static_assert( std::is_signed<volatile T>::value, "");
22 static_assert( std::is_signed<const volatile T>::value, "");
28 static_assert(!std::is_signed<T>::value, "");
29 static_assert(!std::is_signed<const T>::value, "");
30 static_assert(!std::is_signed<volatile T>::value, "");
31 static_assert(!std::is_signed<const volatile T>::value, "");
is_standard_layout.pass.cpp 19 static_assert( std::is_standard_layout<T>::value, "");
20 static_assert( std::is_standard_layout<const T>::value, "");
21 static_assert( std::is_standard_layout<volatile T>::value, "");
22 static_assert( std::is_standard_layout<const volatile T>::value, "");
28 static_assert(!std::is_standard_layout<T>::value, "");
29 static_assert(!std::is_standard_layout<const T>::value, "");
30 static_assert(!std::is_standard_layout<volatile T>::value, "");
31 static_assert(!std::is_standard_layout<const volatile T>::value, "");
is_trivialially_copyable.pass.cpp 20 static_assert( std::is_trivially_copyable<T>::value, "");
21 static_assert( std::is_trivially_copyable<const T>::value, "");
22 static_assert( std::is_trivially_copyable<volatile T>::value, "");
23 static_assert( std::is_trivially_copyable<const volatile T>::value, "");
29 static_assert(!std::is_trivially_copyable<T>::value, "");
30 static_assert(!std::is_trivially_copyable<const T>::value, "");
31 static_assert(!std::is_trivially_copyable<volatile T>::value, "");
32 static_assert(!std::is_trivially_copyable<const volatile T>::value, "");
is_trivially_default_constructible.pass.cpp 19 static_assert( std::is_trivially_default_constructible<T>::value, "");
20 static_assert( std::is_trivially_default_constructible<const T>::value, "");
21 static_assert( std::is_trivially_default_constructible<volatile T>::value, "");
22 static_assert( std::is_trivially_default_constructible<const volatile T>::value, "");
28 static_assert(!std::is_trivially_default_constructible<T>::value, "");
29 static_assert(!std::is_trivially_default_constructible<const T>::value, "");
30 static_assert(!std::is_trivially_default_constructible<volatile T>::value, "");
31 static_assert(!std::is_trivially_default_constructible<const volatile T>::value, "");
is_trivially_destructible.pass.cpp 19 static_assert( std::is_trivially_destructible<T>::value, "");
20 static_assert( std::is_trivially_destructible<const T>::value, "");
21 static_assert( std::is_trivially_destructible<volatile T>::value, "");
22 static_assert( std::is_trivially_destructible<const volatile T>::value, "");
28 static_assert(!std::is_trivially_destructible<T>::value, "");
29 static_assert(!std::is_trivially_destructible<const T>::value, "");
30 static_assert(!std::is_trivially_destructible<volatile T>::value, "");
31 static_assert(!std::is_trivially_destructible<const volatile T>::value, "");
is_unsigned.pass.cpp 19 static_assert( std::is_unsigned<T>::value, "");
20 static_assert( std::is_unsigned<const T>::value, "");
21 static_assert( std::is_unsigned<volatile T>::value, "");
22 static_assert( std::is_unsigned<const volatile T>::value, "");
28 static_assert(!std::is_unsigned<T>::value, "");
29 static_assert(!std::is_unsigned<const T>::value, "");
30 static_assert(!std::is_unsigned<volatile T>::value, "");
31 static_assert(!std::is_unsigned<const volatile T>::value, "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary.prop.query/
extent.pass.cpp 19 static_assert((std::extent<T>::value == A), "");
20 static_assert((std::extent<const T>::value == A), "");
21 static_assert((std::extent<volatile T>::value == A), "");
22 static_assert((std::extent<const volatile T>::value == A), "");
28 static_assert((std::extent<T, 1>::value == A), "");
29 static_assert((std::extent<const T, 1>::value == A), "");
30 static_assert((std::extent<volatile T, 1>::value == A), "");
31 static_assert((std::extent<const volatile T, 1>::value == A), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pairs.pair/
types.pass.cpp 24 static_assert((std::is_same<P::first_type, float>::value), "");
25 static_assert((std::is_same<P::second_type, short*>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.types.generic/
cstdint_typedefs.pass.cpp 43 static_assert((std::is_same<std::atomic< std::int_least8_t>, std::atomic_int_least8_t>::value), "");
44 static_assert((std::is_same<std::atomic< std::uint_least8_t>, std::atomic_uint_least8_t>::value), "");
45 static_assert((std::is_same<std::atomic< std::int_least16_t>, std::atomic_int_least16_t>::value), "");
46 static_assert((std::is_same<std::atomic<std::uint_least16_t>, std::atomic_uint_least16_t>::value), "");
47 static_assert((std::is_same<std::atomic< std::int_least32_t>, std::atomic_int_least32_t>::value), "");
48 static_assert((std::is_same<std::atomic<std::uint_least32_t>, std::atomic_uint_least32_t>::value), "");
49 static_assert((std::is_same<std::atomic< std::int_least64_t>, std::atomic_int_least64_t>::value), "");
50 static_assert((std::is_same<std::atomic<std::uint_least64_t>, std::atomic_uint_least64_t>::value), "");
52 static_assert((std::is_same<std::atomic< std::int_fast8_t>, std::atomic_int_fast8_t>::value), "");
53 static_assert((std::is_same<std::atomic< std::uint_fast8_t>, std::atomic_uint_fast8_t>::value), "")
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/
types.pass.cpp 40 static_assert((std::is_same<std::multiset<int>::key_type, int>::value), "");
41 static_assert((std::is_same<std::multiset<int>::value_type, int>::value), "");
42 static_assert((std::is_same<std::multiset<int>::key_compare, std::less<int> >::value), "");
43 static_assert((std::is_same<std::multiset<int>::value_compare, std::less<int> >::value), "");
44 static_assert((std::is_same<std::multiset<int>::allocator_type, std::allocator<int> >::value), "");
45 static_assert((std::is_same<std::multiset<int>::reference, int&>::value), "");
46 static_assert((std::is_same<std::multiset<int>::const_reference, const int&>::value), "");
47 static_assert((std::is_same<std::multiset<int>::pointer, int*>::value), "");
48 static_assert((std::is_same<std::multiset<int>::const_pointer, const int*>::value), "");
49 static_assert((std::is_same<std::multiset<int>::size_type, std::size_t>::value), "")
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/
types.pass.cpp 40 static_assert((std::is_same<std::set<int>::key_type, int>::value), "");
41 static_assert((std::is_same<std::set<int>::value_type, int>::value), "");
42 static_assert((std::is_same<std::set<int>::key_compare, std::less<int> >::value), "");
43 static_assert((std::is_same<std::set<int>::value_compare, std::less<int> >::value), "");
44 static_assert((std::is_same<std::set<int>::allocator_type, std::allocator<int> >::value), "");
45 static_assert((std::is_same<std::set<int>::reference, int&>::value), "");
46 static_assert((std::is_same<std::set<int>::const_reference, const int&>::value), "");
47 static_assert((std::is_same<std::set<int>::pointer, int*>::value), "");
48 static_assert((std::is_same<std::set<int>::const_pointer, const int*>::value), "");
49 static_assert((std::is_same<std::set<int>::size_type, std::size_t>::value), "")
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/
types.pass.cpp 39 static_assert((std::is_same<C::value_type, short>::value), "");
40 static_assert((std::is_same<C::key_type, short>::value), "");
41 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), "");
42 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), "");
43 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), "");
44 static_assert((std::is_same<C::reference, C::value_type&>::value), "");
45 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), "");
46 static_assert((std::is_same<C::pointer, C::value_type*>::value), "");
47 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), "");
48 static_assert((std::is_same<C::size_type, std::size_t>::value), "")
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/
types.pass.cpp 39 static_assert((std::is_same<C::value_type, short>::value), "");
40 static_assert((std::is_same<C::key_type, short>::value), "");
41 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), "");
42 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), "");
43 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), "");
44 static_assert((std::is_same<C::reference, C::value_type&>::value), "");
45 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), "");
46 static_assert((std::is_same<C::pointer, C::value_type*>::value), "");
47 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), "");
48 static_assert((std::is_same<C::size_type, std::size_t>::value), "")
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
string_h.pass.cpp 26 static_assert((std::is_same<decltype(memcpy(vp, vpc, s)), void*>::value), "");
27 static_assert((std::is_same<decltype(memmove(vp, vpc, s)), void*>::value), "");
28 static_assert((std::is_same<decltype(strcpy(cp, cpc)), char*>::value), "");
29 static_assert((std::is_same<decltype(strncpy(cp, cpc, s)), char*>::value), "");
30 static_assert((std::is_same<decltype(strcat(cp, cpc)), char*>::value), "");
31 static_assert((std::is_same<decltype(strncat(cp, cpc, s)), char*>::value), "");
32 static_assert((std::is_same<decltype(memcmp(vpc, vpc, s)), int>::value), "");
33 static_assert((std::is_same<decltype(strcmp(cpc, cpc)), int>::value), "");
34 static_assert((std::is_same<decltype(strncmp(cpc, cpc, s)), int>::value), "");
35 static_assert((std::is_same<decltype(strcoll(cpc, cpc)), int>::value), "")
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/c.strings/
cstring.pass.cpp 26 static_assert((std::is_same<decltype(std::memcpy(vp, vpc, s)), void*>::value), "");
27 static_assert((std::is_same<decltype(std::memmove(vp, vpc, s)), void*>::value), "");
28 static_assert((std::is_same<decltype(std::strcpy(cp, cpc)), char*>::value), "");
29 static_assert((std::is_same<decltype(std::strncpy(cp, cpc, s)), char*>::value), "");
30 static_assert((std::is_same<decltype(std::strcat(cp, cpc)), char*>::value), "");
31 static_assert((std::is_same<decltype(std::strncat(cp, cpc, s)), char*>::value), "");
32 static_assert((std::is_same<decltype(std::memcmp(vpc, vpc, s)), int>::value), "");
33 static_assert((std::is_same<decltype(std::strcmp(cpc, cpc)), int>::value), "");
34 static_assert((std::is_same<decltype(std::strncmp(cpc, cpc, s)), int>::value), "");
35 static_assert((std::is_same<decltype(std::strcoll(cpc, cpc)), int>::value), "")
    [all...]
  /external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/
p7.cpp 7 static_assert(alignof(X<char, int, sizeof(int)>) == alignof(int), "");
8 static_assert(alignof(X<int, char, 1>) == alignof(int), "");
15 static_assert(alignof(Y<char, int, sizeof(int)>) == alignof(int), "");
16 static_assert(alignof(Y<int, char, 1>) == alignof(int), ""); // expected-note {{in instantiation of}}
  /external/clang/test/PCH/
cxx-static_assert.cpp 12 static_assert(N == 2, "N is not 2!");
17 // expected-error@12 {{static_assert failed "N is not 2!"}}
  /external/clang/test/SemaCXX/
constexpr-backtrace-limit.cpp 34 static_assert(recurse(5), "");
decltype-this.cpp 13 void f() { static_assert(is_same<decltype(this), S*>::value, ""); }
14 void g() const { static_assert(is_same<decltype(this), const S*>::value, ""); }
15 void h() volatile { static_assert(is_same<decltype(this), volatile S*>::value, ""); }
16 void i() const volatile { static_assert(is_same<decltype(this), const volatile S*>::value, ""); }
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/
types.pass.cpp 35 static_assert((std::is_same<std::forward_list<char>::value_type, char>::value), "");
36 static_assert((std::is_same<std::forward_list<char>::allocator_type, std::allocator<char> >::value), "");
37 static_assert((std::is_same<std::forward_list<char>::reference, char&>::value), "");
38 static_assert((std::is_same<std::forward_list<char>::const_reference, const char&>::value), "");
39 static_assert((std::is_same<std::forward_list<char>::pointer, char*>::value), "");
40 static_assert((std::is_same<std::forward_list<char>::const_pointer, const char*>::value), "");
41 static_assert((std::is_same<std::forward_list<char>::size_type, std::size_t>::value), "");
42 static_assert((std::is_same<std::forward_list<char>::difference_type, std::ptrdiff_t>::value), "");
44 static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::value_type, char>::value), "");
45 static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::allocator_type, min_allocator<char> >: (…)
    [all...]

Completed in 1586 milliseconds

1 2 3 45 6 7 8 91011>>