HomeSort by relevance Sort by last modified time
    Searched full:template (Results 326 - 350 of 20740) sorted by null

<<11121314151617181920>>

  /external/clang/test/CXX/temp/temp.decls/temp.variadic/
injected-class-name.cpp 7 template<typename T, typename ...Types>
15 template<typename T, typename ...Types>
18 template<typename T, typename ...Types>
21 template<typename T, typename ...Types>
26 template<typename... InnerTypes>
30 template<typename T, typename ...Types>
33 template<typename T, typename ...Types>
34 template<typename ...InnerTypes>
36 template<typename ...ReallyInner> void f4();
39 template<typename T, typename ...Types
    [all...]
p2.cpp 3 template<class ... Types> void f(Types ... args);
11 // Test simple recursive variadic function template
12 template<typename Head, typename ...Tail>
13 void recurse_until_fail(const Head &, const Tail &...tail) { // expected-note{{candidate function template not viable: requires at least 1 argument, but 0 were provided}}
15 // expected-note{{in instantiation of function template specialization 'recurse_until_fail<char [7]>' requested here}} \
16 // expected-note{{in instantiation of function template specialization 'recurse_until_fail<double, char [7]>' requested here}}
20 recurse_until_fail(1, 3.14159, "string"); // expected-note{{in instantiation of function template specialization 'recurse_until_fail<int, double, char [7]>' requested here}}
  /external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/
p9.cpp 3 template <int> int f(int); // expected-note 2{{candidate}}
4 template <signed char> int f(int); // expected-note 2{{candidate}}
9 template<typename T, T Value>
12 template<typename T, T Value>
20 template<typename T, T Value, typename U>
sfinae-1.cpp 7 template<typename T> one_byte __is_class_check(int T::*);
8 template<typename T> two_bytes __is_class_check(...);
10 template<typename T> struct is_class {
21 template<typename T>
26 template<bool, typename T = void>
31 template<typename T>
34 template<typename T>
  /external/clang/test/CodeGenCXX/
virt-template-vtable.cpp 3 template<class T> class A {
13 template class A<long>;
15 extern template class A<short>;
16 template class A<short>;
24 template<class T> struct C {
  /external/clang/test/PCH/
friend-template.cpp 17 template <typename T> friend class Recycler;
26 template<typename TTag>
28 template <typename T> friend class Recycler;
32 template<typename T>
39 template<typename T>
pr18806.cpp 12 template <typename T>
15 template <typename X>
17 template <typename Y, typename = decltype(Y())>
21 template <typename A>
23 template <typename B, typename = Id<decltype(B())>>
  /external/clang/test/Parser/
cxx11-brace-initializers.cpp 19 template<typename T> struct Q { static T x; };
22 template<> X Q<X>::x {};
23 template<> int Q<int[]>::x[] { 1, 2, 3 };
24 template<> int Q<int>::x { 1 };
26 template<typename T> T Q<T>::x {};
  /external/clang/test/SemaTemplate/
dependent-class-member-operator.cpp 4 template<class T> struct C1 { void operator()(T); };
5 template<class T> struct C2; // expected-note {{template is declared here}}
6 template<class T> void foo(T);
10 foo(&C2<int>::operator+); // expected-error {{implicit instantiation of undefined template 'C2<int>'}}
dependent-sized_array.cpp 3 template<int N>
9 template void f<17>();
12 template<int N>
20 template <unsigned __N>
24 template <int N>
enum-argument.cpp 5 template <Enum v> struct C {
8 template struct C<val>;
10 template<typename T>
15 template<typename T>
27 template<typename T>
function-template-specialization-noreturn.cpp 3 // Split from function-template-specialization.cpp because the noreturn warning
7 template <int N> void __attribute__((noreturn)) f3() { __builtin_unreachable(); }
8 template <> void f3<1>() { } // expected-warning {{function declared 'noreturn' should not return}}
12 template <int>
17 template <>
elaborated-type-specifier.cpp 4 template <typename T>
18 template class D<D1>;
19 template class D<D2>; // expected-note{{in instantiation of}}
20 template class D<D3>; // expected-note{{in instantiation of}}
23 template<typename T>
25 enum T::foo; // expected-error{{nested name specifier for a declaration cannot depend on a template parameter}}
26 enum T::bar { // expected-error{{nested name specifier for a declaration cannot depend on a template parameter}}
32 template <typename T> struct foo {
33 class T::bar; // expected-error{{nested name specifier for a declaration cannot depend on a template parameter}}
34 class T::bar { int x; }; // expected-error{{nested name specifier for a declaration cannot depend on a template parameter}
    [all...]
extern-templates.cpp 3 template<typename T>
13 template<typename T>
18 extern template class X0<int>;
20 extern template class X0<int*>;
22 template<typename T>
32 extern template class X0<long*>;
39 template class X0<long*>; // expected-note 2{{instantiation}}
41 template<typename T>
49 template<typename T>
54 extern template class X1<void*>
    [all...]
instantiate-call.cpp 12 template<typename T, typename Result>
20 template struct N2::call_f0<int, char&>;
21 template struct N2::call_f0<N1::X0, int&>;
24 template<typename T, typename Result>
28 expected-error {{neither visible in the template definition nor found by argument-dependent lookup}}
33 template struct N3::call_f0<int, char&>; // expected-note{{instantiation}}
34 template struct N3::call_f0<N1::X0, int&>;
38 template<typename T, typename Result>
46 template struct N4::call_f0<int, short&>;
47 template struct N4::call_f0<N1::X0, int&>
    [all...]
partial-spec-instantiate.cpp 6 template <class T> struct X {};
8 template <> struct X<char>
13 template <class T> struct X2 {};
15 template <class U>
25 template<typename T>
30 template<typename U>
33 template<typename U>
36 template<>
46 template<typename T, T N> struct X { };
47 template<bool C> struct X<bool, C>
    [all...]
  /external/eigen/test/
triangular.cpp 1 // This file is triangularView of Eigen, a lightweight C++ template library
14 template<typename MatrixType> void triangular_square(const MatrixType& m)
33 MatrixType m1up = m1.template triangularView<Upper>();
34 MatrixType m2up = m2.template triangularView<Upper>();
48 r1.template triangularView<Upper>() += m1;
54 m1.template triangularView<Upper>() = m2.transpose() + m2;
56 VERIFY_IS_APPROX(m3.template triangularView<Lower>().transpose().toDenseMatrix(), m1);
60 m1.template triangularView<Lower>() = m2.transpose() + m2;
61 VERIFY_IS_APPROX(m3.template triangularView<Lower>().toDenseMatrix(), m1);
63 VERIFY_IS_APPROX(m3.template triangularView<Lower>().conjugate().toDenseMatrix()
    [all...]
  /external/clang/test/Analysis/
templates.cpp 2 // RUN: %clang_cc1 -analyze -analyzer-checker=core,debug.ExprInspection -fblocks -analyzer-config c++-template-inlining=false -DNO_INLINE -verify %s
9 template<class T> class MyClass;
12 template<class T>
23 template<class T> const T MyClass<T>::one = static_cast<T>(1);
24 template<class T> inline MyClass<T>::MyClass(T a){}
25 template<class T> void MyClass<T>::I() {
36 template<class T, unsigned N>
52 template <bool VALUE>
60 template bool blockInTemplate<true>();
62 template <bool VALUE
    [all...]
  /external/clang/test/CXX/lex/lex.literal/lex.ext/
p12.cpp 3 template<typename T, T... cs> struct check; // expected-note {{template is declared here}} expected-note {{template is declared here}}
4 template<>
6 template<>
8 template<>
10 template<typename T, T... str> int operator""_x() { // #1 expected-warning {{string literal operator templates are a GNU extension}}
11 check<T, str...> chars; // expected-error {{implicit instantiation of undefined template 'check<char, 't', 'e', 's', 't'>'}} expected-error {{implicit instantiation of undefined template 'check<char32_t, 34, 1090, 1077, 1089, 1090, 95, 65536>'}}
18 int d = "test"_x; // expected-note {{in instantiation of function template specialization 'operator""_x<char, 't', 'e', 's', 't'>' requested here}
    [all...]
  /ndk/sources/cxx-stl/stlport/src/
string.cpp 33 template class _STLP_CLASS_DECLSPEC allocator<char>;
37 template class _STLP_CLASS_DECLSPEC _STLP_alloc_proxy<char*, char, allocator<char> >;
38 template class _STLP_CLASS_DECLSPEC _String_base<char, allocator<char> >;
43 template class _STLP_CLASS_DECLSPEC basic_string<char, char_traits<char>, allocator<char> >;
44 template class _STLP_CLASS_DECLSPEC __construct_checker<basic_string<char, char_traits<char>, allocator<char> > >;
55 template class _STLP_CLASS_DECLSPEC basic_string<char, char_traits<char>, allocator<char> >;
63 template class _STLP_CLASS_DECLSPEC allocator<wchar_t>;
67 template class _STLP_CLASS_DECLSPEC _String_base<wchar_t, allocator<wchar_t> >;
72 template class _STLP_CLASS_DECLSPEC basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >;
73 template class _STLP_CLASS_DECLSPEC __construct_checker<basic_string<wchar_t, char_traits<wchar_t>, allocat (…)
    [all...]
  /external/clang/test/CXX/temp/temp.decls/temp.alias/
p3.cpp 4 template<class T> struct A;
5 template<class T> using B = typename A<T>::U; // expected-error {{no type named 'U' in 'A<T>'}}
6 template<class T> struct A {
7 typedef B<T> U; // expected-note {{in instantiation of template type alias 'B' requested here}}
11 template<typename T> using U = int;
13 template<typename ...T> void f(U<T> ...xs);
17 template<typename T> using U = U<T>;
  /external/clang/test/CXX/temp/temp.decls/temp.class.spec/temp.class.spec.mfunc/
p1-neg.cpp 3 template<typename T, int N>
6 template<typename T> // expected-note{{previous template declaration}}
13 template<>
21 template<typename T, int N> // expected-error{{too many template parameters}}
24 template<typename T, int N>
  /external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
p19.cpp 3 template<typename T>
5 template<typename U> struct Inner { };
7 template<typename U> void f(T, U) { }
10 template<> template<typename U>
15 template<> template<typename U>
p3.cpp 4 template<class T> class X; // expected-note {{'N::X' declared here}} \
8 // TODO: Don't add a namespace qualifier to the template if it would trigger
10 template<> class X<int> { /* ... */ }; // expected-error {{no template named 'X'; did you mean 'N::X'?}} \
11 // expected-warning {{first declaration of class template specialization of 'X' outside namespace 'N' is a C++11 extension}}
15 template<> class X<char*> { /* ... */ }; // OK: X is a template
  /external/clang/test/CXX/temp/temp.spec/temp.explicit/
p1-0x.cpp 3 template<typename T>
8 template inline void X<int>::f(); // expected-error{{explicit instantiation cannot be 'inline'}}
10 template<typename T>
15 template constexpr int Y<int>::f() const; // expected-error{{explicit instantiation cannot be 'constexpr'}}
17 template<typename T>
23 template enum Z<int>::E; // expected-error {{enumerations cannot be explicitly instantiated}}
24 template int Z<int>::t; // expected-error {{explicit instantiation of 't' does not refer to}}

Completed in 966 milliseconds

<<11121314151617181920>>