HomeSort by relevance Sort by last modified time
    Searched full:static_assert (Results 226 - 250 of 1136) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/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++/libcxx/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++/libcxx/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++/libcxx/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++/libcxx/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++/libcxx/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++/libcxx/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++/libcxx/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++/libcxx/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++/libcxx/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++/libcxx/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++/libcxx/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++/libcxx/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++/libcxx/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), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.iter/re.tokiter/
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::sub_match<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::sub_match<const CharT*>*>::value), "");
37 static_assert((std::is_same<typename I::reference, const std::sub_match<const CharT*>&>::value), "");
38 static_assert((std::is_same<typename I::iterator_category, std::forward_iterator_tag>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/
types.pass.cpp 26 static_assert((std::is_same<std::basic_regex<char>::value_type, char>::value), "");
27 static_assert((std::is_same<std::basic_regex<char>::flag_type,
29 static_assert((std::is_same<std::basic_regex<char>::locale_type, std::locale>::value), "");
31 static_assert((std::is_same<std::basic_regex<wchar_t>::value_type, wchar_t>::value), "");
32 static_assert((std::is_same<std::basic_regex<wchar_t>::flag_type,
34 static_assert((std::is_same<std::basic_regex<wchar_t>::locale_type, std::locale>::value), "");
  /external/clang/test/CXX/lex/lex.literal/lex.ext/
p8.cpp 10 static_assert(streq(s, "foobarbazquux"), "");
16 static_assert(streq(t, "foo"), "");
  /external/clang/test/CXX/special/class.inhctor/
p8.cpp 20 static_assert(a0.rval && !a1.rval && b0.rval && !b1.rval, "");
29 static_assert(D(123).v == 123, "");
  /external/clang/test/CodeGenCXX/
union-dtor.cpp 7 Foo() { static_assert(b, "Foo::Foo used"); }
8 ~Foo() { static_assert(b, "Foo::~Foo used"); }
  /external/clang/test/Lexer/
char-literal-encoding-error.c 13 static_assert((unsigned char)'?' == 0xE9, ""); // expected-warning {{illegal character encoding in character literal}}
14 static_assert('??' == 0xE9E9, ""); // expected-warning {{illegal character encoding in character literal}} expected-warning {{multi-character character constant}}
cxx1y_binary_literal.cpp 3 static_assert(0b1001 == 9, "");
13 static_assert(0b10001111_foo == 286, "");
  /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/SemaTemplate/
alignas.cpp 22 static_assert(sizeof(my_union<A, B, C>) == 16, "");
23 static_assert(alignof(my_union<A, B, C>) == 8, "");
  /libcore/include/
StaticAssert.h 21 * Similar to C++0x's static_assert. Message argument must be a valid identifier, not a string.
25 #define STATIC_ASSERT(exp, msg) typedef StaticAssert<(bool(exp))> msg[bool(exp) ? 1 : -1]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/priority.queue/
types.pass.cpp 51 static_assert((std::is_same<std::priority_queue<int>::container_type, std::vector<int> >::value), "");
52 static_assert((std::is_same<std::priority_queue<double, std::deque<int> >::container_type, std::deque<int> >::value), "");
53 static_assert((std::is_same<std::priority_queue<double, std::deque<int> >::value_type, int>::value), "");
54 static_assert((std::is_same<std::priority_queue<int>::reference, std::vector<int>::reference>::value), "");
55 static_assert((std::is_same<std::priority_queue<int>::const_reference, std::vector<int>::const_reference>::value), "");
56 static_assert((std::is_same<std::priority_queue<int>::size_type, std::vector<int>::size_type>::value), "");
57 static_assert((std::uses_allocator<std::priority_queue<int>, std::allocator<int> >::value), "");
58 static_assert((!std::uses_allocator<std::priority_queue<int, C>, std::allocator<int> >::value), "");

Completed in 877 milliseconds

1 2 3 4 5 6 7 8 91011>>