28 static_assert(i_ > 0,
"invalid index");
30 typedef typename TupleElement<i_-1, Rest_...>::Type Type;
32 template<
typename Meta_>
33 static Type& get(Meta_& meta)
38 template<
typename Meta_>
39 static const Type& get(
const Meta_& meta)
46 template<
typename First_,
typename... Rest_>
51 template<
typename Meta_>
52 static Type& get(Meta_& meta)
57 template<
typename Meta_>
58 static const Type& get(
const Meta_& meta)
73 template<
int i_,
typename SubType_>
76 static_assert(i_ > 0,
"invalid index");
78 template<
typename Meta_>
79 static SubType_& get(Meta_& meta)
84 template<
typename Meta_>
85 static const SubType_& get(
const Meta_& meta)
92 template<
typename SubType_>
95 template<
typename Meta_>
96 static SubType_& get(Meta_& meta)
101 template<
typename Meta_>
102 static const SubType_& get(
const Meta_& meta)
Power container element helper class template.
Tuple container element helper class template.