HomeSort by relevance Sort by last modified time
    Searched full:template (Results 76 - 100 of 23796) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/clang/test/Modules/Inputs/template-specialization-visibility/
c.h 3 template<typename T> struct S { int n; };
4 template<typename U> struct T<U>::S { int n; };
5 template<typename U> enum T<U>::E : int { e };
a.h 3 template<typename T> struct S;
4 template<typename U> struct T {
  /external/clang/test/SemaTemplate/
qualified-id.cpp 5 template <typename T> class C {};
8 template<typename T> void f0(a::C<T> &a0) { }
14 template <class T> class Base { };
15 template <class T> class Derived : public Base<T> {
27 template <class T> class Magic : public Impl {
35 template <typename T> void f(T, T);
42 template <typename T>
50 template <typename T>
52 template <typename V>
53 template <typename W
    [all...]
temp_arg.cpp 2 template<typename T,
4 template<typename> class TT>
5 class A; // expected-note 3 {{template is declared here}}
7 template<typename> class X;
11 A<float, 1, X, double> *a2; // expected-error{{too many template arguments for class template 'A'}}
12 A<float, 1> *a3; // expected-error{{too few template arguments for class template 'A'}}
13 A a3; // expected-error{{use of class template 'A' requires template arguments}
    [all...]
alias-template-template-param.cpp 4 template<template<typename> class D> using C = D<int>;
6 // Substitution of the alias template transforms the TemplateSpecializationType
7 // 'D<int>' into the DependentTemplateSpecializationType 'T::template U<int>'.
8 template<typename T> void f(C<T::template U>);
instantiation-backtrace.cpp 2 template<typename T> struct A; // expected-note 4{{template is declared here}}
4 template<typename T> struct B : A<T*> { }; // expected-error{{implicit instantiation of undefined template}} \
5 // expected-error{{implicit instantiation of undefined template 'A<X *>'}}
7 template<typename T> struct C : B<T> { } ; // expected-note{{instantiation of template class}}
9 template<typename T> struct D : C<T> { }; // expected-note{{instantiation of template class}}
11 template<typename T> struct E : D<T> { }; // expected-note{{instantiation of template class}
    [all...]
class-template-spec.cpp 2 template<typename T, typename U = int> struct A; // expected-note {{template is declared here}} \
5 template<> struct A<double, double>; // expected-note{{forward declaration}}
7 template<> struct A<float, float> { // expected-note{{previous definition}}
11 template<> struct A<float> { // expected-note{{previous definition}}
23 (void)a2->x; // expected-error{{implicit instantiation of undefined template 'A<double, int>'}}
28 template<> struct A<float, FLOAT>;
30 template<> struct A<FLOAT, float> { }; // expected-error{{redefinition}}
32 template<> struct A<float, int> { }; // expected-error{{redefinition}}
34 template<typename T, typename U = int> struct X
    [all...]
  /external/eigen/test/
corners.cpp 1 // This file is part of Eigen, a lightweight C++ template library
16 template<typename MatrixType> void corners(const MatrixType& m)
46 template<typename MatrixType, int CRows, int CCols, int SRows, int SCols> void corners_fixedsize()
60 VERIFY_IS_EQUAL((matrix.template topLeftCorner<r,c>()), (matrix.template block<r,c>(0,0)));
61 VERIFY_IS_EQUAL((matrix.template topRightCorner<r,c>()), (matrix.template block<r,c>(0,cols-c)));
62 VERIFY_IS_EQUAL((matrix.template bottomLeftCorner<r,c>()), (matrix.template block<r,c>(rows-r,0)));
63 VERIFY_IS_EQUAL((matrix.template bottomRightCorner<r,c>()), (matrix.template block<r,c>(rows-r,cols-c)))
    [all...]
  /external/stlport/stlport/stl/
_facets_fwd.h 10 template <class _CharT, class _InputIter>
12 template <class _CharT, class _InputIter = istreambuf_iterator<_CharT, char_traits<_CharT> > >
17 template <class _CharT, class _OutputIter>
19 template <class _CharT, class _OutputIter = ostreambuf_iterator<_CharT, char_traits<_CharT> > >
24 template <class _CharT, class _InputIter>
26 template <class _CharT, class _InputIter = istreambuf_iterator<_CharT, char_traits<_CharT> > >
31 template <class _CharT, class _OutputIter>
33 template <class _CharT, class _OutputIter = ostreambuf_iterator<_CharT, char_traits<_CharT> > >
38 template <class _Ch, class _InIt>
40 template <class _Ch, class _InIt = istreambuf_iterator<_Ch, char_traits<_Ch> >
    [all...]
  /ndk/sources/cxx-stl/stlport/stlport/stl/
_facets_fwd.h 10 template <class _CharT, class _InputIter>
12 template <class _CharT, class _InputIter = istreambuf_iterator<_CharT, char_traits<_CharT> > >
17 template <class _CharT, class _OutputIter>
19 template <class _CharT, class _OutputIter = ostreambuf_iterator<_CharT, char_traits<_CharT> > >
24 template <class _CharT, class _InputIter>
26 template <class _CharT, class _InputIter = istreambuf_iterator<_CharT, char_traits<_CharT> > >
31 template <class _CharT, class _OutputIter>
33 template <class _CharT, class _OutputIter = ostreambuf_iterator<_CharT, char_traits<_CharT> > >
38 template <class _Ch, class _InIt>
40 template <class _Ch, class _InIt = istreambuf_iterator<_Ch, char_traits<_Ch> >
    [all...]
  /prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/
_facets_fwd.h 10 template <class _CharT, class _InputIter>
12 template <class _CharT, class _InputIter = istreambuf_iterator<_CharT, char_traits<_CharT> > >
17 template <class _CharT, class _OutputIter>
19 template <class _CharT, class _OutputIter = ostreambuf_iterator<_CharT, char_traits<_CharT> > >
24 template <class _CharT, class _InputIter>
26 template <class _CharT, class _InputIter = istreambuf_iterator<_CharT, char_traits<_CharT> > >
31 template <class _CharT, class _OutputIter>
33 template <class _CharT, class _OutputIter = ostreambuf_iterator<_CharT, char_traits<_CharT> > >
38 template <class _Ch, class _InIt>
40 template <class _Ch, class _InIt = istreambuf_iterator<_Ch, char_traits<_Ch> >
    [all...]
  /prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/
_facets_fwd.h 10 template <class _CharT, class _InputIter>
12 template <class _CharT, class _InputIter = istreambuf_iterator<_CharT, char_traits<_CharT> > >
17 template <class _CharT, class _OutputIter>
19 template <class _CharT, class _OutputIter = ostreambuf_iterator<_CharT, char_traits<_CharT> > >
24 template <class _CharT, class _InputIter>
26 template <class _CharT, class _InputIter = istreambuf_iterator<_CharT, char_traits<_CharT> > >
31 template <class _CharT, class _OutputIter>
33 template <class _CharT, class _OutputIter = ostreambuf_iterator<_CharT, char_traits<_CharT> > >
38 template <class _Ch, class _InIt>
40 template <class _Ch, class _InIt = istreambuf_iterator<_Ch, char_traits<_Ch> >
    [all...]
  /prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/
_facets_fwd.h 10 template <class _CharT, class _InputIter>
12 template <class _CharT, class _InputIter = istreambuf_iterator<_CharT, char_traits<_CharT> > >
17 template <class _CharT, class _OutputIter>
19 template <class _CharT, class _OutputIter = ostreambuf_iterator<_CharT, char_traits<_CharT> > >
24 template <class _CharT, class _InputIter>
26 template <class _CharT, class _InputIter = istreambuf_iterator<_CharT, char_traits<_CharT> > >
31 template <class _CharT, class _OutputIter>
33 template <class _CharT, class _OutputIter = ostreambuf_iterator<_CharT, char_traits<_CharT> > >
38 template <class _Ch, class _InIt>
40 template <class _Ch, class _InIt = istreambuf_iterator<_Ch, char_traits<_Ch> >
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/
_facets_fwd.h 10 template <class _CharT, class _InputIter>
12 template <class _CharT, class _InputIter = istreambuf_iterator<_CharT, char_traits<_CharT> > >
17 template <class _CharT, class _OutputIter>
19 template <class _CharT, class _OutputIter = ostreambuf_iterator<_CharT, char_traits<_CharT> > >
24 template <class _CharT, class _InputIter>
26 template <class _CharT, class _InputIter = istreambuf_iterator<_CharT, char_traits<_CharT> > >
31 template <class _CharT, class _OutputIter>
33 template <class _CharT, class _OutputIter = ostreambuf_iterator<_CharT, char_traits<_CharT> > >
38 template <class _Ch, class _InIt>
40 template <class _Ch, class _InIt = istreambuf_iterator<_Ch, char_traits<_Ch> >
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/stl/
_facets_fwd.h 10 template <class _CharT, class _InputIter>
12 template <class _CharT, class _InputIter = istreambuf_iterator<_CharT, char_traits<_CharT> > >
17 template <class _CharT, class _OutputIter>
19 template <class _CharT, class _OutputIter = ostreambuf_iterator<_CharT, char_traits<_CharT> > >
24 template <class _CharT, class _InputIter>
26 template <class _CharT, class _InputIter = istreambuf_iterator<_CharT, char_traits<_CharT> > >
31 template <class _CharT, class _OutputIter>
33 template <class _CharT, class _OutputIter = ostreambuf_iterator<_CharT, char_traits<_CharT> > >
38 template <class _Ch, class _InIt>
40 template <class _Ch, class _InIt = istreambuf_iterator<_Ch, char_traits<_Ch> >
    [all...]
  /external/clang/test/SemaCXX/
cxx1y-variable-templates_in_class.cpp 12 template<typename T> CONST T wrong; // expected-error {{member 'wrong' declared as a template}}
13 template<typename T> CONST T wrong_init = 5; // expected-error {{member 'wrong_init' declared as a template}}
14 template<typename T, typename T0> static CONST T right = T(100);
15 template<typename T> static CONST T right<T,int> = 5;
16 template<typename T> CONST int right<int,T>; // expected-error {{member 'right' declared as a template}}
17 template<typename T> CONST float right<float,T> = 5; // expected-error {{member 'right' declared as a template}}
    [all...]
  /external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
p2-0x.cpp 19 // -- function template
21 template<typename T> void f0(T) {
25 template<> void f0(NonDefaultConstructible) { }
31 template<> void f0(int);
32 template<> void f0(long);
35 template<> void N0::f0(int) { } // okay
38 template<> void N0::f0(long) { } // expected-error{{does not enclose namespace}}
41 template<> void N0::f0(double) { }
44 template<typename T> void f(T);
46 template<> void f(int); // expected-error{{in class scope}
    [all...]
p13.cpp 3 template<typename T> void f(T);
5 template<> void f(int) { }
p21.cpp 3 template<typename T>
6 template<typename U> void mf2(T, U); // expected-note{{previous}}
9 template<>
14 template<> template<>
18 template<> template<typename U>
23 template<>
  /external/clang/test/CXX/temp/temp.decls/temp.fct/temp.over.link/
p4.cpp 5 template<typename T> void f0(T) { }
6 template<typename T, typename U> void f0(T) { }
7 template<typename T, typename U> void f0(U) { }
9 template<typename T> void f0(T*);
11 template<int I> void f0();
12 template<typename T> void f0();
  /external/clang/test/CXX/temp/temp.param/
p7.cpp 3 // A non-type template-parameter shall not be declared to have
7 template<double d> class X; // expected-error{{cannot have type}}
8 template<double* pd> class Y; //OK
9 template<double& rd> class Z; //OK
11 template<A a> class X0; // expected-error{{cannot have type}}
14 template<VOID a> class X01; // expected-error{{cannot have type}}
  /external/clang/test/Parser/
cxx-template-argument.cpp 2 // RUN: %clang_cc1 -fsyntax-only -verify %s -fdelayed-template-parsing
4 template<typename T> struct A {};
6 // Check for template argument lists followed by junk
12 template <bool> struct S {};
15 // Test behavior when a template-id is ended by a token which starts with '>'.
17 template<typename T> struct S { S(); S(T); };
20 template<typename T> void t();
31 template <typename x>
34 void bar(foo *X) { // expected-error {{requires template arguments}}
39 template <class T
    [all...]
  /external/clang/test/CXX/temp/temp.decls/temp.mem/
p1.cpp 4 template <class T> struct A {
7 template <class U> struct B {
20 template<typename T>
22 template<typename Y>
26 template<>
28 template<typename Y>
32 template<typename T, typename U>
33 struct Z : public X<T>::template Y1<U> { };
  /external/clang/test/Index/Inputs/
redeclarations.h 7 template <typename T1, typename T2>
12 template <class T>
  /external/clang/test/Modules/Inputs/
initializer_list 4 template<typename T> struct initializer_list {
8 template<typename T> int min(initializer_list<T>);

Completed in 987 milliseconds

1 2 34 5 6 7 8 91011>>