OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:static_assert
(Results
201 - 225
of
918
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/ndk/sources/cxx-stl/llvm-libc++/test/language.support/support.limits/limits/round.style/
check_values.pass.cpp
24
static_assert
(std::denorm_indeterminate == -1,
26
static_assert
(std::denorm_absent == 0,
28
static_assert
(std::denorm_present == 1,
30
static_assert
(sizeof(test(std::denorm_present)) == 1,
32
static_assert
(sizeof(test(1)) == 2,
/ndk/sources/cxx-stl/llvm-libc++/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char/
types.pass.cpp
25
static_assert
((std::is_same<std::char_traits<char>::char_type, char>::value), "");
26
static_assert
((std::is_same<std::char_traits<char>::int_type, int>::value), "");
27
static_assert
((std::is_same<std::char_traits<char>::off_type, std::streamoff>::value), "");
28
static_assert
((std::is_same<std::char_traits<char>::pos_type, std::streampos>::value), "");
29
static_assert
((std::is_same<std::char_traits<char>::state_type, std::mbstate_t>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/
types.pass.cpp
27
static_assert
((std::is_same<std::char_traits<char16_t>::char_type, char16_t>::value), "");
28
static_assert
((std::is_same<std::char_traits<char16_t>::int_type, std::uint_least16_t>::value), "");
29
static_assert
((std::is_same<std::char_traits<char16_t>::off_type, std::streamoff>::value), "");
30
static_assert
((std::is_same<std::char_traits<char16_t>::pos_type, std::u16streampos>::value), "");
31
static_assert
((std::is_same<std::char_traits<char16_t>::state_type, std::mbstate_t>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/
types.pass.cpp
27
static_assert
((std::is_same<std::char_traits<char32_t>::char_type, char32_t>::value), "");
28
static_assert
((std::is_same<std::char_traits<char32_t>::int_type, std::uint_least32_t>::value), "");
29
static_assert
((std::is_same<std::char_traits<char32_t>::off_type, std::streamoff>::value), "");
30
static_assert
((std::is_same<std::char_traits<char32_t>::pos_type, std::u32streampos>::value), "");
31
static_assert
((std::is_same<std::char_traits<char32_t>::state_type, std::mbstate_t>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/
types.pass.cpp
25
static_assert
((std::is_same<std::char_traits<wchar_t>::char_type, wchar_t>::value), "");
26
static_assert
((std::is_same<std::char_traits<wchar_t>::int_type, std::wint_t>::value), "");
27
static_assert
((std::is_same<std::char_traits<wchar_t>::off_type, std::streamoff>::value), "");
28
static_assert
((std::is_same<std::char_traits<wchar_t>::pos_type, std::wstreampos>::value), "");
29
static_assert
((std::is_same<std::char_traits<wchar_t>::state_type, std::mbstate_t>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/allocator.uses/allocator.uses.trait/
uses_allocator.pass.cpp
28
static_assert
((!std::uses_allocator<int, std::allocator<int> >::value), "");
29
static_assert
(( std::uses_allocator<std::vector<int>, std::allocator<int> >::value), "");
30
static_assert
((!std::uses_allocator<A, std::allocator<int> >::value), "");
31
static_assert
((!std::uses_allocator<B, std::allocator<int> >::value), "");
32
static_assert
(( std::uses_allocator<B, double>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/meta/meta.rel/
is_base_of.pass.cpp
19
static_assert
((std::is_base_of<T, U>::value), "");
20
static_assert
((std::is_base_of<const T, U>::value), "");
21
static_assert
((std::is_base_of<T, const U>::value), "");
22
static_assert
((std::is_base_of<const T, const U>::value), "");
28
static_assert
((!std::is_base_of<T, U>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/time.clock/time.clock.system/
consistency.pass.cpp
24
static_assert
((std::is_same<C::rep, C::duration::rep>::value), "");
25
static_assert
((std::is_same<C::period, C::duration::period>::value), "");
26
static_assert
((std::is_same<C::duration, C::time_point::duration>::value), "");
27
static_assert
((std::is_same<C::time_point::clock, C>::value), "");
28
static_assert
((C::is_steady || !C::is_steady), "");
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/tuple/tuple.tuple/
empty_member.pass.cpp
26
static_assert
((sizeof(T) == sizeof(int)), "");
30
static_assert
((sizeof(T) == sizeof(int)), "");
34
static_assert
((sizeof(T) == sizeof(int)), "");
38
static_assert
((sizeof(T) == sizeof(int)), "");
42
static_assert
((sizeof(T) == sizeof(int)), "");
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/time.duration/time.duration.comparisons/
op_equal.pass.cpp
75
static_assert
(s1 == s2, "");
76
static_assert
(!(s1 != s2), "");
81
static_assert
(!(s1 == s2), "");
82
static_assert
(s1 != s2, "");
87
static_assert
(s1 == s2, "");
88
static_assert
(!(s1 != s2), "");
93
static_assert
(!(s1 == s2), "");
94
static_assert
(s1 != s2, "");
99
static_assert
(s1 == s2, "");
100
static_assert
(!(s1 != s2), "")
[
all
...]
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/list/
types.pass.cpp
30
static_assert
((std::is_same<std::list<int>::value_type, int>::value), "");
31
static_assert
((std::is_same<std::list<int>::allocator_type, std::allocator<int> >::value), "");
32
static_assert
((std::is_same<std::list<int>::reference, std::allocator<int>::reference>::value), "");
33
static_assert
((std::is_same<std::list<int>::const_reference, std::allocator<int>::const_reference>::value), "");
34
static_assert
((std::is_same<std::list<int>::pointer, std::allocator<int>::pointer>::value), "");
35
static_assert
((std::is_same<std::list<int>::const_pointer, std::allocator<int>::const_pointer>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/filebuf/
types.pass.cpp
28
static_assert
((std::is_base_of<std::basic_streambuf<char>, std::basic_filebuf<char> >::value), "");
29
static_assert
((std::is_same<std::basic_filebuf<char>::char_type, char>::value), "");
30
static_assert
((std::is_same<std::basic_filebuf<char>::traits_type, std::char_traits<char> >::value), "");
31
static_assert
((std::is_same<std::basic_filebuf<char>::int_type, std::char_traits<char>::int_type>::value), "");
32
static_assert
((std::is_same<std::basic_filebuf<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
33
static_assert
((std::is_same<std::basic_filebuf<char>::off_type, std::char_traits<char>::off_type>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/fstream/
types.pass.cpp
28
static_assert
((std::is_base_of<std::basic_iostream<char>, std::basic_fstream<char> >::value), "");
29
static_assert
((std::is_same<std::basic_fstream<char>::char_type, char>::value), "");
30
static_assert
((std::is_same<std::basic_fstream<char>::traits_type, std::char_traits<char> >::value), "");
31
static_assert
((std::is_same<std::basic_fstream<char>::int_type, std::char_traits<char>::int_type>::value), "");
32
static_assert
((std::is_same<std::basic_fstream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
33
static_assert
((std::is_same<std::basic_fstream<char>::off_type, std::char_traits<char>::off_type>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/ifstream/
types.pass.cpp
28
static_assert
((std::is_base_of<std::basic_istream<char>, std::basic_ifstream<char> >::value), "");
29
static_assert
((std::is_same<std::basic_ifstream<char>::char_type, char>::value), "");
30
static_assert
((std::is_same<std::basic_ifstream<char>::traits_type, std::char_traits<char> >::value), "");
31
static_assert
((std::is_same<std::basic_ifstream<char>::int_type, std::char_traits<char>::int_type>::value), "");
32
static_assert
((std::is_same<std::basic_ifstream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
33
static_assert
((std::is_same<std::basic_ifstream<char>::off_type, std::char_traits<char>::off_type>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/ofstream/
types.pass.cpp
28
static_assert
((std::is_base_of<std::basic_ostream<char>, std::basic_ofstream<char> >::value), "");
29
static_assert
((std::is_same<std::basic_ofstream<char>::char_type, char>::value), "");
30
static_assert
((std::is_same<std::basic_ofstream<char>::traits_type, std::char_traits<char> >::value), "");
31
static_assert
((std::is_same<std::basic_ofstream<char>::int_type, std::char_traits<char>::int_type>::value), "");
32
static_assert
((std::is_same<std::basic_ofstream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
33
static_assert
((std::is_same<std::basic_ofstream<char>::off_type, std::char_traits<char>::off_type>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.format/input.streams/istream/
types.pass.cpp
29
static_assert
((std::is_base_of<std::basic_ios<char>, std::basic_istream<char> >::value), "");
30
static_assert
((std::is_same<std::basic_istream<char>::char_type, char>::value), "");
31
static_assert
((std::is_same<std::basic_istream<char>::traits_type, std::char_traits<char> >::value), "");
32
static_assert
((std::is_same<std::basic_istream<char>::int_type, std::char_traits<char>::int_type>::value), "");
33
static_assert
((std::is_same<std::basic_istream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
34
static_assert
((std::is_same<std::basic_istream<char>::off_type, std::char_traits<char>::off_type>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.format/output.streams/ostream/
types.pass.cpp
29
static_assert
((std::is_base_of<std::basic_ios<char>, std::basic_ostream<char> >::value), "");
30
static_assert
((std::is_same<std::basic_ostream<char>::char_type, char>::value), "");
31
static_assert
((std::is_same<std::basic_ostream<char>::traits_type, std::char_traits<char> >::value), "");
32
static_assert
((std::is_same<std::basic_ostream<char>::int_type, std::char_traits<char>::int_type>::value), "");
33
static_assert
((std::is_same<std::basic_ostream<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
34
static_assert
((std::is_same<std::basic_ostream<char>::off_type, std::char_traits<char>::off_type>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostreams.base/ios/
types.pass.cpp
27
static_assert
((std::is_base_of<std::ios_base, std::basic_ios<char> >::value), "");
28
static_assert
((std::is_same<std::basic_ios<char>::char_type, char>::value), "");
29
static_assert
((std::is_same<std::basic_ios<char>::traits_type, std::char_traits<char> >::value), "");
30
static_assert
((std::is_same<std::basic_ios<char>::int_type, std::char_traits<char>::int_type>::value), "");
31
static_assert
((std::is_same<std::basic_ios<char>::pos_type, std::char_traits<char>::pos_type>::value), "");
32
static_assert
((std::is_same<std::basic_ios<char>::off_type, std::char_traits<char>::off_type>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/insert.iterators/back.insert.iterator/
types.pass.cpp
48
static_assert
((std::is_same<typename R::container_type, C>::value), "");
49
static_assert
((std::is_same<typename R::value_type, void>::value), "");
50
static_assert
((std::is_same<typename R::difference_type, void>::value), "");
51
static_assert
((std::is_same<typename R::reference, R&>::value), "");
52
static_assert
((std::is_same<typename R::pointer, void>::value), "");
53
static_assert
((std::is_same<typename R::iterator_category, std::output_iterator_tag>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/insert.iterators/front.insert.iterator/
types.pass.cpp
49
static_assert
((std::is_same<typename R::container_type, C>::value), "");
50
static_assert
((std::is_same<typename R::value_type, void>::value), "");
51
static_assert
((std::is_same<typename R::difference_type, void>::value), "");
52
static_assert
((std::is_same<typename R::reference, R&>::value), "");
53
static_assert
((std::is_same<typename R::pointer, void>::value), "");
54
static_assert
((std::is_same<typename R::iterator_category, std::output_iterator_tag>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/insert.iterators/insert.iterator/
types.pass.cpp
53
static_assert
((std::is_same<typename R::container_type, C>::value), "");
54
static_assert
((std::is_same<typename R::value_type, void>::value), "");
55
static_assert
((std::is_same<typename R::difference_type, void>::value), "");
56
static_assert
((std::is_same<typename R::reference, R&>::value), "");
57
static_assert
((std::is_same<typename R::pointer, void>::value), "");
58
static_assert
((std::is_same<typename R::iterator_category, std::output_iterator_tag>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/reverse.iterators/reverse.iterator/
types.pass.cpp
48
static_assert
((std::is_same<typename R::iterator_type, It>::value), "");
49
static_assert
((std::is_same<typename R::value_type, typename T::value_type>::value), "");
50
static_assert
((std::is_same<typename R::difference_type, typename T::difference_type>::value), "");
51
static_assert
((std::is_same<typename R::reference, typename T::reference>::value), "");
52
static_assert
((std::is_same<typename R::pointer, typename std::iterator_traits<It>::pointer>::value), "");
53
static_assert
((std::is_same<typename R::iterator_category, typename T::iterator_category>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.collate/locale.collate/
types.pass.cpp
35
static_assert
((std::is_same<std::collate<char>::char_type, char>::value), "");
36
static_assert
((std::is_same<std::collate<char>::string_type, std::string>::value), "");
37
static_assert
((std::is_base_of<std::locale::facet, std::collate<char> >::value), "");
45
static_assert
((std::is_same<std::collate<wchar_t>::char_type, wchar_t>::value), "");
46
static_assert
((std::is_same<std::collate<wchar_t>::string_type, std::wstring>::value), "");
47
static_assert
((std::is_base_of<std::locale::facet, std::collate<wchar_t> >::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/facet.numpunct/locale.numpunct/
types.pass.cpp
34
static_assert
((std::is_same<std::numpunct<char>::char_type, char>::value), "");
35
static_assert
((std::is_same<std::numpunct<char>::string_type, std::string>::value), "");
36
static_assert
((std::is_base_of<std::locale::facet, std::numpunct<char> >::value), "");
44
static_assert
((std::is_same<std::numpunct<wchar_t>::char_type, wchar_t>::value), "");
45
static_assert
((std::is_same<std::numpunct<wchar_t>::string_type, std::wstring>::value), "");
46
static_assert
((std::is_base_of<std::locale::facet, std::numpunct<wchar_t> >::value), "");
/ndk/sources/cxx-stl/llvm-libc++/test/re/re.iter/re.regiter/
types.pass.cpp
33
static_assert
((std::is_same<typename I::regex_type, std::basic_regex<CharT> >::value), "");
34
static_assert
((std::is_same<typename I::value_type, std::match_results<const CharT*> >::value), "");
35
static_assert
((std::is_same<typename I::difference_type, std::ptrdiff_t>::value), "");
36
static_assert
((std::is_same<typename I::pointer, const std::match_results<const CharT*>*>::value), "");
37
static_assert
((std::is_same<typename I::reference, const std::match_results<const CharT*>&>::value), "");
38
static_assert
((std::is_same<typename I::iterator_category, std::forward_iterator_tag>::value), "");
Completed in 175 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>