Lines Matching refs:Tail
205 template <size_t index, typename FieldSpec, typename... Tail>
206 struct FieldSpecLookup<index, FieldSpec, Tail...> {
207 using Prev = FieldSpecLookup<index - 1, Tail...>;
209 static constexpr Type Get(FieldSpecList<FieldSpec, Tail...> self) {
216 template <typename FieldSpec, typename... Tail>
217 struct FieldSpecLookup<0, FieldSpec, Tail...> {
219 static constexpr Type Get(FieldSpecList<FieldSpec, Tail...> self) {
247 template <typename FieldSpec, typename... Tail>
248 struct FieldSpecList<FieldSpec, Tail...> {
249 using List = FieldSpecList<FieldSpec, Tail...>;
250 using TailList = FieldSpecList<Tail...>;
252 constexpr explicit FieldSpecList(FieldSpec field_spec, Tail... tail)
256 constexpr typename FieldSpecLookup<index, FieldSpec, Tail...>::Type Get()
258 return FieldSpecLookup<index, FieldSpec, Tail...>::Get(*this);