Home
last modified time | relevance | path

Searched refs:unsigned_c (Results 1 – 5 of 5) sorted by relevance

/external/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/
Dp3-0x.cpp17 template<unsigned> struct unsigned_c { }; struct
20 unsigned_c<count<Types...>::value> f();
23 unsigned_c<0> uc0a = f(); // okay, deduced to an empty pack in test_f()
24 unsigned_c<0> uc0b = f<>(); in test_f()
25 unsigned_c<1> uc1 = f<int>(); in test_f()
26 unsigned_c<2> uc2 = f<float, double>(); in test_f()
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
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/
Dinjected-class-name.cpp60 template<unsigned> struct unsigned_c { }; struct
67 unsigned_c<sizeof(1 + g(ArgTypes()...))> f();
71 unsigned_c<sizeof(1 + g(ArgTypes()...))> X1<R(ArgTypes...)>::f() { in f()
72 return unsigned_c<sizeof(int)>(); in f()
/external/clang/test/CodeGenObjCXX/
Darc-mangle.mm30 template<unsigned N> struct unsigned_c { }; struct
33 template<typename T>void g(unsigned_c<sizeof((__bridge T*)(__bridge id)(T*)0) + 1>*) {} argument
34 template void g<const void>(unsigned_c<sizeof(id) + 1> *); argument
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/
Dcwg1170.cpp11 template<unsigned N> struct unsigned_c { }; struct
17 template<typename U> static yes_type check(unsigned_c<sizeof(U(t))> * = 0);