Lines Matching defs:get
20 void get(...);
49 constexpr const T &get(select<0>) { return val; }
50 template<unsigned N> constexpr const decltype(static_cast<const rest_t&>(rest).get(select<N-1>{})) get(select<N>) {
51 return rest.get(select<N-1>{});
85 decltype(static_cast<const impl_t&>(impl).get(detail::select<N>{}));
88 constexpr const_get_result<N> get() {
92 : impl.get(detail::select<N>{}));
96 constexpr const U &get() {
97 return get<impl_t::index(detail::type<U>())>();
106 static_assert(icd1.get<int>() == 4, "");
107 static_assert(icd2.get<char>() == 'x', "");
108 static_assert(icd3.get<double>() == 6.5, "");
117 static_assert(icd4.get<const icd*>()->get<char>() == 'x', "");
118 static_assert(icd5.get<non_triv>().n == 5, "");