Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:template

3 template<typename T> struct remove_reference { typedef T type; };
4 template<typename T> struct remove_reference<T&> { typedef T type; };
5 template<typename T> struct remove_reference<T&&> { typedef T type; };
7 template<typename T> constexpr T &&forward(typename remove_reference<T>::type &t) noexcept { return static_cast<T&&>(t); }
8 template<typename T> constexpr T &&forward(typename remove_reference<T>::type &&t) noexcept { return static_cast<T&&>(t); }
9 template<typename T> constexpr typename remove_reference<T>::type &&move(T &&t) noexcept { return static_cast<typename remove_reference<T>::type&&>(t); }
11 template<typename T> T declval() noexcept;
14 template<unsigned N> struct select {}; // : integral_constant<unsigned, N> {};
15 template<typename T> struct type {};
17 template<typename...T> union either_impl;
19 template<> union either_impl<> {
24 template<typename T, typename...Ts> union either_impl<T, Ts...> {
33 template<unsigned N, typename U>
37 template<typename U>
50 template<unsigned N> constexpr const decltype(static_cast<const rest_t&>(rest).get(select<N-1>{})) get(select<N>) {
56 template<typename T>
59 template<typename...U>
62 template<typename T> using an = a<T>;
64 template<typename T, typename U> T throw_(const U &u) { throw u; }
66 template<typename...T>
73 template<typename U>
84 template<unsigned N> using const_get_result =
87 template<unsigned N>
95 template<typename U>