Lines Matching full:template
4 template <short T> class Type1 {};
5 template <short T> void Function1(Type1<T>& x) {} // expected-note{{candidate function [with T = -42] not viable: expects an l-value for 1st argument}}
7 template <unsigned short T> class Type2 {};
8 template <unsigned short T> void Function2(Type2<T>& x) {} // expected-note{{candidate function [with T = 42] not viable: expects an l-value for 1st argument}}
14 template <boolTy T> struct Type3Helper;
15 template <> struct Type3Helper<boolTy::b> { typedef boolTy Ty; };
16 template <boolTy T, typename Type3Helper<T>::Ty U> struct Type3 {};
23 template <charTy T> struct Type4Helper;
24 template <> struct Type4Helper<charTy::c> { typedef charTy Ty; };
25 template <charTy T, typename Type4Helper<T>::Ty U> struct Type4 {};
31 template <scharTy T> struct Type5Helper;
32 template <> struct Type5Helper<scharTy::c> { typedef scharTy Ty; };
33 template <scharTy T, typename Type5Helper<T>::Ty U> struct Type5 {};
39 template <ucharTy T> struct Type6Helper;
40 template <> struct Type6Helper<ucharTy::c> { typedef ucharTy Ty; };
41 template <ucharTy T, typename Type6Helper<T>::Ty U> struct Type6 {};
47 template <wcharTy T> struct Type7Helper;
48 template <> struct Type7Helper<wcharTy::c> { typedef wcharTy Ty; };
49 template <wcharTy T, typename Type7Helper<T>::Ty U> struct Type7 {};
55 template <char16Ty T> struct Type8Helper;
56 template <> struct Type8Helper<char16Ty::c> { typedef char16Ty Ty; };
57 template <char16Ty T, typename Type8Helper<T>::Ty U> struct Type8 {};
63 template <char32Ty T> struct Type9Helper;
64 template <> struct Type9Helper<char32Ty::c> { typedef char32Ty Ty; };
65 template <char32Ty T, typename Type9Helper<T>::Ty U> struct Type9 {};