Lines Matching refs:pi2
181 CONST int pi2 = 1; variable
184 CONST int pi2<T,int> = 2; variable
187 CONST int pi2<int,T> = 3; variable
189 template<> CONST int pi2<int,int> = 4; variable
193 static_assert(pi2<int,int> == 4, ""); in foo()
194 static_assert(pi2<float,int> == 2, ""); in foo()
195 static_assert(pi2<int,float> == 3, ""); in foo()
196 static_assert(pi2<int,float> == pi2<int,double>, ""); in foo()
197 static_assert(pi2<float,float> == 1, ""); in foo()
198 static_assert(pi2<float,float> == pi2<float,double>, ""); in foo()
206 CONST int pi2 = 1; variable
209 CONST int pi2<T,int> = 2; // expected-note {{partial specialization matches [with T = int]}} variable
212 CONST int pi2<int,T> = 3; // expected-note {{partial specialization matches [with T = int]}} variable
215 … int a = pi2<int,int>; // expected-error {{ambiguous partial specializations of 'pi2<int, int>'}} in foo()
232 T pi2 = T(3.1415926535897932385); variable
233 template<> int pi2<const int> = 10; variable
272 CONST int pi2 = 1; variable
274 template<typename T> CONST int pi2<T,int> = 2; variable
275 template CONST int pi2<int,int>; variable
286 CONST int pi2 = 1; variable
288 template CONST int pi2<int,int>; variable
289 template<typename T> CONST int pi2<T,int> = 2; variable