Home | History | Annotate | Download | only in SemaTemplate

Lines Matching defs:Const

6   static const unsigned value = 0;
11 static const unsigned value = 1;
21 static const bool value = false;
26 static const bool value = true;
55 struct Replace<const T, Arg1, Arg2> {
56 typedef typename Replace<T, Arg1, Arg2>::type const type;
80 int array1[is_same<Replace<const _1, int, float>::type, const int>::value? 1 : -1];
82 int array3[is_same<Replace<vector<const _1>, int, float>::type, vector<const int> >::value? 1 : -1];
86 template <typename T, int N> void f(const T (&a)[N]);
94 template <typename U> X(const X<U>& u);
98 void f(const X<A>& a);
104 const int f ();
110 template <class T> void make(const T *(*fn)()); // expected-note {{candidate template ignored: can't deduce a type for 'T' which would make 'const T' equal 'char'}}
118 template<typename T> void foo(const T a[3][3]);
127 template<typename T> struct Const { typedef void const type; };
129 template<typename T> void f(T, typename Const<T>::type*);
130 template<typename T> void f(T, void const *);
158 template <E e> void foo(const A<e> &a) {}