HomeSort by relevance Sort by last modified time
    Searched full:specialization (Results 1 - 25 of 1183) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Index/Inputs/CommentXML/
valid-class-03.xml 2 <Class templateKind="specialization">
valid-function-10.xml 2 <Function templateKind="specialization">
  /external/clang/test/CXX/temp/temp.decls/temp.friend/
p8.cpp 5 template<class T> friend class A<T*>; // expected-error{{partial specialization cannot be declared as a friend}}
  /external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
p5-cxx0x.cpp 10 using A::f<double>; // expected-error{{using declaration can not refer to a template specialization}}
11 using A::X<int>; // expected-error{{using declaration can not refer to a template specialization}}
  /external/clang/test/PCH/
cxx-ms-function-specialization-class-scope.h 11 B(int p) { // expected-warning{{explicit specialization of 'B<T>' within class scope is a Microsoft extension}}
21 void f(int p) { // expected-warning{{explicit specialization of 'f' within class scope is a Microsoft extension}}
  /external/clang/test/CXX/temp/temp.spec/temp.explicit/
p4.cpp 19 template<> void f0(long); // expected-note{{previous template specialization is here}}
20 template void f0(long); // expected-warning{{explicit instantiation of 'f0<long>' that occurs after an explicit specialization will be ignored}}
22 template<> void X0<long>::f1(); // expected-note{{previous template specialization is here}}
23 template void X0<long>::f1(); // expected-warning{{explicit instantiation of 'f1' that occurs after an explicit specialization will be ignored}}
25 template<> struct X0<long>::Inner; // expected-note{{previous template specialization is here}}
26 template struct X0<long>::Inner; // expected-warning{{explicit instantiation of 'Inner' that occurs after an explicit specialization will be ignored}}
28 template<> long X0<long>::value; // expected-note{{previous template specialization is here}}
29 template long X0<long>::value; // expected-warning{{explicit instantiation of 'value' that occurs after an explicit specialization will be ignored}}
31 template<> struct X0<double>; // expected-note{{previous template specialization is here}}
32 template struct X0<double>; // expected-warning{{explicit instantiation of 'X0<double>' that occurs after an explicit specialization will be ignored}
    [all...]
  /external/clang/test/SemaTemplate/
ms-function-specialization-class-scope.cpp 10 A(int p) { // expected-warning{{explicit specialization of 'A' within class scope is a Microsoft extension}}
18 void f(int p) { // expected-warning{{explicit specialization of 'f' within class scope is a Microsoft extension}}
44 B(int p) { // expected-warning{{explicit specialization of 'B<T>' within class scope is a Microsoft extension}}
54 void f(int p) { // expected-warning{{explicit specialization of 'f' within class scope is a Microsoft extension}}
85 void specialized_member_template<false>() {} // expected-warning{{explicit specialization of 'specialized_member_template' within class scope is a Microsoft extension}}
function-template-specialization.cpp 5 // Simple function template specialization (using overloading)
13 // Function template specialization where there are no matches
17 // Function template specialization that requires partial ordering
24 // Function template specialization that results in an ambiguity
35 void f2<25>(double (&array)[25]); // expected-error{{specialization}}
47 template <typename T> void f<T*>(T* t) {} // expected-error{{function template partial specialization is not allowed}}
  /external/clang/test/CXX/temp/temp.decls/temp.variadic/
p2.cpp 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.decls/
p3.cpp 4 template<typename T> using A<T*> = char; // expected-error {{partial specialization of alias templates is not permitted}}
5 template<> using A<char> = char; // expected-error {{explicit specialization of alias templates is not permitted}}
  /external/clang/test/CXX/temp/temp.decls/temp.class.spec/
p9-0x.cpp 3 // -- The argument list of the specialization shall not be identical
10 struct X1<T, Types...> // expected-error{{class template partial specialization does not specialize any template argument; to define the primary template, remove the template argument list}}
p8-0x.cpp 6 struct X1<0, Values+1 ...>; // expected-error{{non-type template argument depends on a template parameter of the partial specialization}}
  /external/clang/test/SemaCXX/
warn-char-subscripts.cpp 18 t1<char>(); // expected-note {{in instantiation of function template specialization 't1<char>' requested here}}
19 t2<char>(); // expected-note {{in instantiation of function template specialization 't2<char>' requested here}}
instantiate-blocks.cpp 28 foo(100, 'a'); // expected-note {{in instantiation of function template specialization 'foo<int, char>' requested here}}
30 noret((float)0.0, double(0.0)); // expected-note {{in instantiation of function template specialization 'noret<float, double>' requested here}}
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/
functional_hash.h 84 /// Explicit specialization for bool.
87 /// Explicit specialization for char.
90 /// Explicit specialization for signed char.
93 /// Explicit specialization for unsigned char.
96 /// Explicit specialization for wchar_t.
99 /// Explicit specialization for char16_t.
102 /// Explicit specialization for char32_t.
105 /// Explicit specialization for short.
108 /// Explicit specialization for int.
111 /// Explicit specialization for long
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/
functional_hash.h 84 /// Explicit specialization for bool.
87 /// Explicit specialization for char.
90 /// Explicit specialization for signed char.
93 /// Explicit specialization for unsigned char.
96 /// Explicit specialization for wchar_t.
99 /// Explicit specialization for char16_t.
102 /// Explicit specialization for char32_t.
105 /// Explicit specialization for short.
108 /// Explicit specialization for int.
111 /// Explicit specialization for long
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/
functional_hash.h 84 /// Explicit specialization for bool.
87 /// Explicit specialization for char.
90 /// Explicit specialization for signed char.
93 /// Explicit specialization for unsigned char.
96 /// Explicit specialization for wchar_t.
99 /// Explicit specialization for char16_t.
102 /// Explicit specialization for char32_t.
105 /// Explicit specialization for short.
108 /// Explicit specialization for int.
111 /// Explicit specialization for long
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/
functional_hash.h 84 /// Explicit specialization for bool.
87 /// Explicit specialization for char.
90 /// Explicit specialization for signed char.
93 /// Explicit specialization for unsigned char.
96 /// Explicit specialization for wchar_t.
99 /// Explicit specialization for char16_t.
102 /// Explicit specialization for char32_t.
105 /// Explicit specialization for short.
108 /// Explicit specialization for int.
111 /// Explicit specialization for long
    [all...]
  /external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
p11.cpp 7 // explicit specialization for sort(Array<int>&)
p16.cpp 9 // specialization
15 // member template specialization
18 // member template specialization
24 // member specialization even if defined in class definition
p5.cpp 38 xih.f(); // okay, uses specialization
42 return X<IntHolder, long>::value; // okay, uses specialization
59 // explicit specialization syntax not used for a member of
60 // explicitly specialized class template specialization
p17.cpp 22 int AA::bar = 1; // expected-error {{template specialization requires 'template<>'}}
23 int A<float>::bar = 2; // expected-error {{template specialization requires 'template<>'}}
p3.cpp 9 // the warning about the specialization being outside of the namespace.
11 // expected-warning {{first declaration of class template specialization of 'X' outside namespace 'N' is a C++11 extension}}
  /external/stlport/doc/
pointer_specialization.txt 3 * specialization feature. *
12 STLport grant the partial pointer specialization for 4 containers:
20 The pointer specialization consists in using a void* container
38 In a first thought you can imagine a partial specialization like
45 specialization? The _Alloc type is supposed to have a rebind member
60 specialization like that:
74 the less<void*> functor. The less specialization issue also show that
86 There is of course a solution for this specialization issue. We
87 need to be able to detect the less specialization. The partial set
88 specialization would have to be used only if the less functor is
    [all...]
  /external/clang/test/CXX/dcl.decl/dcl.meaning/
p1-0x.cpp 21 int decltype(tfoo<T>())::i; // expected-error{{nested name specifier 'decltype(tfoo<T>())::' for declaration does not refer into a class, class template or class template partial specialization}}
23 void decltype(tfoo<T>())::func() { // expected-error{{nested name specifier 'decltype(tfoo<T>())::' for declaration does not refer into a class, class template or class template partial specialization}}

Completed in 1143 milliseconds

1 2 3 4 5 6 7 8 91011>>