OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:static_assert
(Results
151 - 175
of
1136
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary/meta.unary.prop/
is_nothrow_copy_constructible.pass.cpp
19
static_assert
( std::is_nothrow_copy_constructible<T>::value, "");
20
static_assert
( std::is_nothrow_copy_constructible<const T>::value, "");
26
static_assert
(!std::is_nothrow_copy_constructible<T>::value, "");
27
static_assert
(!std::is_nothrow_copy_constructible<const T>::value, "");
28
static_assert
(!std::is_nothrow_copy_constructible<volatile T>::value, "");
29
static_assert
(!std::is_nothrow_copy_constructible<const volatile T>::value, "");
is_nothrow_move_constructible.pass.cpp
19
static_assert
( std::is_nothrow_move_constructible<T>::value, "");
20
static_assert
( std::is_nothrow_move_constructible<const T>::value, "");
26
static_assert
(!std::is_nothrow_move_constructible<T>::value, "");
27
static_assert
(!std::is_nothrow_move_constructible<const T>::value, "");
28
static_assert
(!std::is_nothrow_move_constructible<volatile T>::value, "");
29
static_assert
(!std::is_nothrow_move_constructible<const volatile T>::value, "");
is_volatile.pass.cpp
19
static_assert
(!std::is_volatile<T>::value, "");
20
static_assert
(!std::is_volatile<const T>::value, "");
21
static_assert
( std::is_volatile<volatile T>::value, "");
22
static_assert
( std::is_volatile<const volatile T>::value, "");
35
static_assert
(!std::is_volatile<int&>::value, "");
36
static_assert
(!std::is_volatile<volatile int&>::value, "");
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_nothrow_destructible.pass.cpp
19
static_assert
( std::is_nothrow_destructible<T>::value, "");
20
static_assert
( std::is_nothrow_destructible<const T>::value, "");
21
static_assert
( std::is_nothrow_destructible<volatile T>::value, "");
22
static_assert
( std::is_nothrow_destructible<const volatile T>::value, "");
28
static_assert
(!std::is_nothrow_destructible<T>::value, "");
29
static_assert
(!std::is_nothrow_destructible<const T>::value, "");
30
static_assert
(!std::is_nothrow_destructible<volatile T>::value, "");
31
static_assert
(!std::is_nothrow_destructible<const volatile T>::value, "");
is_polymorphic.pass.cpp
19
static_assert
( std::is_polymorphic<T>::value, "");
20
static_assert
( std::is_polymorphic<const T>::value, "");
21
static_assert
( std::is_polymorphic<volatile T>::value, "");
22
static_assert
( std::is_polymorphic<const volatile T>::value, "");
28
static_assert
(!std::is_polymorphic<T>::value, "");
29
static_assert
(!std::is_polymorphic<const T>::value, "");
30
static_assert
(!std::is_polymorphic<volatile T>::value, "");
31
static_assert
(!std::is_polymorphic<const volatile T>::value, "");
/external/clang/test/Headers/
cxx11.cpp
14
static_assert
(__alignas_is_defined, "");
15
static_assert
(__alignof_is_defined, "");
/external/clang/test/PCH/
cxx11-exception-spec.cpp
15
static_assert
(!noexcept(f<false>()), "");
16
static_assert
(noexcept(f<true>()), "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/queue/queue.defn/
types.pass.cpp
49
static_assert
((std::is_same<std::queue<int>::container_type, std::deque<int> >::value), "");
50
static_assert
((std::is_same<std::queue<double, std::vector<int> >::container_type, std::vector<int> >::value), "");
51
static_assert
((std::is_same<std::queue<double, std::vector<int> >::value_type, int>::value), "");
52
static_assert
((std::is_same<std::queue<int>::reference, std::deque<int>::reference>::value), "");
53
static_assert
((std::is_same<std::queue<int>::const_reference, std::deque<int>::const_reference>::value), "");
54
static_assert
((std::is_same<std::queue<int>::size_type, std::deque<int>::size_type>::value), "");
55
static_assert
((std::uses_allocator<std::queue<int>, std::allocator<int> >::value), "");
56
static_assert
((!std::uses_allocator<std::queue<int, C>, std::allocator<int> >::value), "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/stack/stack.defn/
types.pass.cpp
50
static_assert
((std::is_same<std::stack<int>::container_type, std::deque<int> >::value), "");
51
static_assert
((std::is_same<std::stack<double, std::vector<int> >::container_type, std::vector<int> >::value), "");
52
static_assert
((std::is_same<std::stack<double, std::vector<int> >::value_type, int>::value), "");
53
static_assert
((std::is_same<std::stack<int>::reference, std::deque<int>::reference>::value), "");
54
static_assert
((std::is_same<std::stack<int>::const_reference, std::deque<int>::const_reference>::value), "");
55
static_assert
((std::is_same<std::stack<int>::size_type, std::deque<int>::size_type>::value), "");
56
static_assert
((std::uses_allocator<std::stack<int>, std::allocator<int> >::value), "");
57
static_assert
((!std::uses_allocator<std::stack<int, C>, std::allocator<int> >::value), "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/stream.iterators/istream.iterator/
types.pass.cpp
29
static_assert
((std::is_convertible<I1,
32
static_assert
((std::is_same<I1::char_type, char>::value), "");
33
static_assert
((std::is_same<I1::traits_type, std::char_traits<char> >::value), "");
34
static_assert
((std::is_same<I1::istream_type, std::istream>::value), "");
36
static_assert
((std::is_convertible<I2,
39
static_assert
((std::is_same<I2::char_type, wchar_t>::value), "");
40
static_assert
((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), "");
41
static_assert
((std::is_same<I2::istream_type, std::wistream>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/stream.iterators/ostream.iterator/
types.pass.cpp
29
static_assert
((std::is_convertible<I1,
31
static_assert
((std::is_same<I1::char_type, char>::value), "");
32
static_assert
((std::is_same<I1::traits_type, std::char_traits<char> >::value), "");
33
static_assert
((std::is_same<I1::ostream_type, std::ostream>::value), "");
35
static_assert
((std::is_convertible<I2,
37
static_assert
((std::is_same<I2::char_type, wchar_t>::value), "");
38
static_assert
((std::is_same<I2::traits_type, std::char_traits<wchar_t> >::value), "");
39
static_assert
((std::is_same<I2::ostream_type, std::wostream>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
digits10.pass.cpp
21
static_assert
(std::numeric_limits<T>::digits10 == expected, "digits10 test 1");
22
static_assert
(std::numeric_limits<T>::is_bounded, "digits10 test 5");
23
static_assert
(std::numeric_limits<const T>::digits10 == expected, "digits10 test 2");
24
static_assert
(std::numeric_limits<const T>::is_bounded, "digits10 test 6");
25
static_assert
(std::numeric_limits<volatile T>::digits10 == expected, "digits10 test 3");
26
static_assert
(std::numeric_limits<volatile T>::is_bounded, "digits10 test 7");
27
static_assert
(std::numeric_limits<const volatile T>::digits10 == expected, "digits10 test 4");
28
static_assert
(std::numeric_limits<const volatile T>::is_bounded, "digits10 test 8");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.messages/locale.messages/
types.pass.cpp
26
static_assert
((std::is_base_of<std::locale::facet, std::messages<char> >::value), "");
27
static_assert
((std::is_base_of<std::messages_base, std::messages<char> >::value), "");
28
static_assert
((std::is_base_of<std::locale::facet, std::messages<wchar_t> >::value), "");
29
static_assert
((std::is_base_of<std::messages_base, std::messages<wchar_t> >::value), "");
30
static_assert
((std::is_same<std::messages<char>::char_type, char>::value), "");
31
static_assert
((std::is_same<std::messages<wchar_t>::char_type, wchar_t>::value), "");
32
static_assert
((std::is_same<std::messages<char>::string_type, std::string>::value), "");
33
static_assert
((std::is_same<std::messages<wchar_t>::string_type, std::wstring>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.money.get/
types.pass.cpp
26
static_assert
((std::is_base_of<std::locale::facet, std::money_get<char> >::value), "");
27
static_assert
((std::is_base_of<std::locale::facet, std::money_get<wchar_t> >::value), "");
28
static_assert
((std::is_same<std::money_get<char>::char_type, char>::value), "");
29
static_assert
((std::is_same<std::money_get<wchar_t>::char_type, wchar_t>::value), "");
30
static_assert
((std::is_same<std::money_get<char>::iter_type, std::istreambuf_iterator<char> >::value), "");
31
static_assert
((std::is_same<std::money_get<wchar_t>::iter_type, std::istreambuf_iterator<wchar_t> >::value), "");
32
static_assert
((std::is_same<std::money_get<char>::string_type, std::string>::value), "");
33
static_assert
((std::is_same<std::money_get<wchar_t>::string_type, std::wstring>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.money.put/
types.pass.cpp
26
static_assert
((std::is_base_of<std::locale::facet, std::money_put<char> >::value), "");
27
static_assert
((std::is_base_of<std::locale::facet, std::money_put<wchar_t> >::value), "");
28
static_assert
((std::is_same<std::money_put<char>::char_type, char>::value), "");
29
static_assert
((std::is_same<std::money_put<wchar_t>::char_type, wchar_t>::value), "");
30
static_assert
((std::is_same<std::money_put<char>::iter_type, std::ostreambuf_iterator<char> >::value), "");
31
static_assert
((std::is_same<std::money_put<wchar_t>::iter_type, std::ostreambuf_iterator<wchar_t> >::value), "");
32
static_assert
((std::is_same<std::money_put<char>::string_type, std::string>::value), "");
33
static_assert
((std::is_same<std::money_put<wchar_t>::string_type, std::wstring>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct/
types.pass.cpp
35
static_assert
((std::is_base_of<std::locale::facet, std::moneypunct<char> >::value), "");
36
static_assert
((std::is_base_of<std::locale::facet, std::moneypunct<wchar_t> >::value), "");
37
static_assert
((std::is_base_of<std::money_base, std::moneypunct<char> >::value), "");
38
static_assert
((std::is_base_of<std::money_base, std::moneypunct<wchar_t> >::value), "");
39
static_assert
((std::is_same<std::moneypunct<char>::char_type, char>::value), "");
40
static_assert
((std::is_same<std::moneypunct<wchar_t>::char_type, wchar_t>::value), "");
41
static_assert
((std::is_same<std::moneypunct<char>::string_type, std::string>::value), "");
42
static_assert
((std::is_same<std::moneypunct<wchar_t>::string_type, std::wstring>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.get/
types.pass.cpp
33
static_assert
((std::is_base_of<std::locale::facet, std::time_get<char> >::value), "");
34
static_assert
((std::is_base_of<std::locale::facet, std::time_get<wchar_t> >::value), "");
35
static_assert
((std::is_base_of<std::time_base, std::time_get<char> >::value), "");
36
static_assert
((std::is_base_of<std::time_base, std::time_get<wchar_t> >::value), "");
37
static_assert
((std::is_same<std::time_get<char>::char_type, char>::value), "");
38
static_assert
((std::is_same<std::time_get<wchar_t>::char_type, wchar_t>::value), "");
39
static_assert
((std::is_same<std::time_get<char>::iter_type, std::istreambuf_iterator<char> >::value), "");
40
static_assert
((std::is_same<std::time_get<wchar_t>::iter_type, std::istreambuf_iterator<wchar_t> >::value), "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.members/
construct.pass.cpp
44
static_assert
(c.real() == 0, "");
45
static_assert
(c.imag() == 0, "");
49
static_assert
(c.real() == 7.5, "");
50
static_assert
(c.imag() == 0, "");
54
static_assert
(c.real() == 8.5, "");
55
static_assert
(c.imag() == 0, "");
59
static_assert
(c.real() == 10.5, "");
60
static_assert
(c.imag() == -9.5, "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.eng/rand.eng.sub/
values.pass.cpp
38
static_assert
((E::word_size == 24), "");
39
static_assert
((E::short_lag == 10), "");
40
static_assert
((E::long_lag == 24), "");
43
static_assert
((E::default_seed == 19780503u), "");
54
static_assert
((E::word_size == 48), "");
55
static_assert
((E::short_lag == 5), "");
56
static_assert
((E::long_lag == 12), "");
59
static_assert
((E::default_seed == 19780503u), "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/intseq/intseq.general/
integer_seq.pass.cpp
41
static_assert
( std::is_same<int3::value_type, int>::value, "int3 type wrong" );
42
static_assert
( int3::size () == 3, "int3 size wrong" );
44
static_assert
( std::is_same<size7::value_type, size_t>::value, "size7 type wrong" );
45
static_assert
( size7::size () == 7, "size7 size wrong" );
47
static_assert
( std::is_same<size4::value_type, size_t>::value, "size4 type wrong" );
48
static_assert
( size4::size () == 4, "size4 size wrong" );
50
static_assert
( std::is_same<size2::value_type, size_t>::value, "size2 type wrong" );
51
static_assert
( size2::size () == 2, "size2 size wrong" );
53
static_assert
( std::is_same<intmix::value_type, int>::value, "intmix type wrong" );
54
static_assert
( intmix::size () == 4, "intmix size wrong" )
[
all
...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/intseq/intseq.intseq/
integer_seq.pass.cpp
35
static_assert
( std::is_same<int3::value_type, int>::value, "int3 type wrong" );
36
static_assert
( int3::size() == 3, "int3 size wrong" );
38
static_assert
( std::is_same<size1::value_type, size_t>::value, "size1 type wrong" );
39
static_assert
( size1::size() == 1, "size1 size wrong" );
41
static_assert
( std::is_same<ushort2::value_type, unsigned short>::value, "ushort2 type wrong" );
42
static_assert
( ushort2::size() == 2, "ushort2 size wrong" );
44
static_assert
( std::is_same<bool0::value_type, bool>::value, "bool0 type wrong" );
45
static_assert
( bool0::size() == 0, "bool0 size wrong" );
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/intseq/intseq.make/
make_integer_seq.pass.cpp
23
static_assert
(std::is_same<std::make_integer_sequence<int, 0>, std::integer_sequence<int>>::value, "");
24
static_assert
(std::is_same<std::make_integer_sequence<int, 1>, std::integer_sequence<int, 0>>::value, "");
25
static_assert
(std::is_same<std::make_integer_sequence<int, 2>, std::integer_sequence<int, 0, 1>>::value, "");
26
static_assert
(std::is_same<std::make_integer_sequence<int, 3>, std::integer_sequence<int, 0, 1, 2>>::value, "");
28
static_assert
(std::is_same<std::make_integer_sequence<unsigned long long, 0>, std::integer_sequence<unsigned long long>>::value, "");
29
static_assert
(std::is_same<std::make_integer_sequence<unsigned long long, 1>, std::integer_sequence<unsigned long long, 0>>::value, "");
30
static_assert
(std::is_same<std::make_integer_sequence<unsigned long long, 2>, std::integer_sequence<unsigned long long, 0, 1>>::value, "");
31
static_assert
(std::is_same<std::make_integer_sequence<unsigned long long, 3>, std::integer_sequence<unsigned long long, 0, 1, 2>>::value, "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/
allocator_types.pass.cpp
36
static_assert
((std::is_same<std::allocator<char>::size_type, std::size_t>::value), "");
37
static_assert
((std::is_same<std::allocator<char>::difference_type, std::ptrdiff_t>::value), "");
38
static_assert
((std::is_same<std::allocator<char>::pointer, char*>::value), "");
39
static_assert
((std::is_same<std::allocator<char>::const_pointer, const char*>::value), "");
40
static_assert
((std::is_same<std::allocator<char>::value_type, char>::value), "");
41
static_assert
((std::is_same<std::allocator<char>::reference, char&>::value), "");
42
static_assert
((std::is_same<std::allocator<char>::const_reference, const char&>::value), "");
43
static_assert
((std::is_same<std::allocator<char>::rebind<int>::other,
/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), "");
Completed in 216 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>