Searched refs:unsigned_c (Results 1 - 4 of 4) sorted by relevance

/external/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/
H A Dp3-0x.cpp17 template<unsigned> struct unsigned_c { }; struct in namespace:ParameterPacksWithFunctions
20 unsigned_c<count<Types...>::value> f();
23 unsigned_c<0> uc0a = f(); // okay, deduced to an empty pack
24 unsigned_c<0> uc0b = f<>();
25 unsigned_c<1> uc1 = f<int>();
26 unsigned_c<2> uc2 = f<float, double>();
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
H A Dp9-0x.cpp4 template<unsigned> struct unsigned_c;
47 typedef tuple<unsigned_c<Bounds>...> bounds_types;
53 tuple<unsigned_c<1>, unsigned_c<2>, unsigned_c<3>>
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dinjected-class-name.cpp60 template<unsigned> struct unsigned_c { }; struct in namespace:rdar8848837
67 unsigned_c<sizeof(1 + g(ArgTypes()...))> f();
71 unsigned_c<sizeof(1 + g(ArgTypes()...))> X1<R(ArgTypes...)>::f() {
72 return unsigned_c<sizeof(int)>();
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/
H A Dcwg1170.cpp11 template<unsigned N> struct unsigned_c { }; struct
17 template<typename U> static yes_type check(unsigned_c<sizeof(U(t))> * = 0);

Completed in 100 milliseconds