Warning, file /include/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector10.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009 namespace boost { namespace fusion { namespace detail
0010 {
0011 BOOST_FUSION_BARRIER_BEGIN
0012 template <>
0013 struct as_vector<1>
0014 {
0015 template <typename I0>
0016 struct apply
0017 {
0018 typedef typename fusion::result_of::next<I0>::type I1;
0019 typedef typename fusion::result_of::value_of<I0>::type T0;
0020 typedef vector1<T0> type;
0021 };
0022 template <typename Iterator>
0023 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0024 static typename apply<Iterator>::type
0025 call(Iterator const& i0)
0026 {
0027 typedef apply<Iterator> gen;
0028 typedef typename gen::type result;
0029
0030 return result(*i0);
0031 }
0032 };
0033 template <>
0034 struct as_vector<2>
0035 {
0036 template <typename I0>
0037 struct apply
0038 {
0039 typedef typename fusion::result_of::next<I0>::type I1; typedef typename fusion::result_of::next<I1>::type I2;
0040 typedef typename fusion::result_of::value_of<I0>::type T0; typedef typename fusion::result_of::value_of<I1>::type T1;
0041 typedef vector2<T0 , T1> type;
0042 };
0043 template <typename Iterator>
0044 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0045 static typename apply<Iterator>::type
0046 call(Iterator const& i0)
0047 {
0048 typedef apply<Iterator> gen;
0049 typedef typename gen::type result;
0050 typename gen::I1 i1 = fusion::next(i0);
0051 return result(*i0 , *i1);
0052 }
0053 };
0054 template <>
0055 struct as_vector<3>
0056 {
0057 template <typename I0>
0058 struct apply
0059 {
0060 typedef typename fusion::result_of::next<I0>::type I1; typedef typename fusion::result_of::next<I1>::type I2; typedef typename fusion::result_of::next<I2>::type I3;
0061 typedef typename fusion::result_of::value_of<I0>::type T0; typedef typename fusion::result_of::value_of<I1>::type T1; typedef typename fusion::result_of::value_of<I2>::type T2;
0062 typedef vector3<T0 , T1 , T2> type;
0063 };
0064 template <typename Iterator>
0065 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0066 static typename apply<Iterator>::type
0067 call(Iterator const& i0)
0068 {
0069 typedef apply<Iterator> gen;
0070 typedef typename gen::type result;
0071 typename gen::I1 i1 = fusion::next(i0); typename gen::I2 i2 = fusion::next(i1);
0072 return result(*i0 , *i1 , *i2);
0073 }
0074 };
0075 template <>
0076 struct as_vector<4>
0077 {
0078 template <typename I0>
0079 struct apply
0080 {
0081 typedef typename fusion::result_of::next<I0>::type I1; typedef typename fusion::result_of::next<I1>::type I2; typedef typename fusion::result_of::next<I2>::type I3; typedef typename fusion::result_of::next<I3>::type I4;
0082 typedef typename fusion::result_of::value_of<I0>::type T0; typedef typename fusion::result_of::value_of<I1>::type T1; typedef typename fusion::result_of::value_of<I2>::type T2; typedef typename fusion::result_of::value_of<I3>::type T3;
0083 typedef vector4<T0 , T1 , T2 , T3> type;
0084 };
0085 template <typename Iterator>
0086 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0087 static typename apply<Iterator>::type
0088 call(Iterator const& i0)
0089 {
0090 typedef apply<Iterator> gen;
0091 typedef typename gen::type result;
0092 typename gen::I1 i1 = fusion::next(i0); typename gen::I2 i2 = fusion::next(i1); typename gen::I3 i3 = fusion::next(i2);
0093 return result(*i0 , *i1 , *i2 , *i3);
0094 }
0095 };
0096 template <>
0097 struct as_vector<5>
0098 {
0099 template <typename I0>
0100 struct apply
0101 {
0102 typedef typename fusion::result_of::next<I0>::type I1; typedef typename fusion::result_of::next<I1>::type I2; typedef typename fusion::result_of::next<I2>::type I3; typedef typename fusion::result_of::next<I3>::type I4; typedef typename fusion::result_of::next<I4>::type I5;
0103 typedef typename fusion::result_of::value_of<I0>::type T0; typedef typename fusion::result_of::value_of<I1>::type T1; typedef typename fusion::result_of::value_of<I2>::type T2; typedef typename fusion::result_of::value_of<I3>::type T3; typedef typename fusion::result_of::value_of<I4>::type T4;
0104 typedef vector5<T0 , T1 , T2 , T3 , T4> type;
0105 };
0106 template <typename Iterator>
0107 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0108 static typename apply<Iterator>::type
0109 call(Iterator const& i0)
0110 {
0111 typedef apply<Iterator> gen;
0112 typedef typename gen::type result;
0113 typename gen::I1 i1 = fusion::next(i0); typename gen::I2 i2 = fusion::next(i1); typename gen::I3 i3 = fusion::next(i2); typename gen::I4 i4 = fusion::next(i3);
0114 return result(*i0 , *i1 , *i2 , *i3 , *i4);
0115 }
0116 };
0117 template <>
0118 struct as_vector<6>
0119 {
0120 template <typename I0>
0121 struct apply
0122 {
0123 typedef typename fusion::result_of::next<I0>::type I1; typedef typename fusion::result_of::next<I1>::type I2; typedef typename fusion::result_of::next<I2>::type I3; typedef typename fusion::result_of::next<I3>::type I4; typedef typename fusion::result_of::next<I4>::type I5; typedef typename fusion::result_of::next<I5>::type I6;
0124 typedef typename fusion::result_of::value_of<I0>::type T0; typedef typename fusion::result_of::value_of<I1>::type T1; typedef typename fusion::result_of::value_of<I2>::type T2; typedef typename fusion::result_of::value_of<I3>::type T3; typedef typename fusion::result_of::value_of<I4>::type T4; typedef typename fusion::result_of::value_of<I5>::type T5;
0125 typedef vector6<T0 , T1 , T2 , T3 , T4 , T5> type;
0126 };
0127 template <typename Iterator>
0128 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0129 static typename apply<Iterator>::type
0130 call(Iterator const& i0)
0131 {
0132 typedef apply<Iterator> gen;
0133 typedef typename gen::type result;
0134 typename gen::I1 i1 = fusion::next(i0); typename gen::I2 i2 = fusion::next(i1); typename gen::I3 i3 = fusion::next(i2); typename gen::I4 i4 = fusion::next(i3); typename gen::I5 i5 = fusion::next(i4);
0135 return result(*i0 , *i1 , *i2 , *i3 , *i4 , *i5);
0136 }
0137 };
0138 template <>
0139 struct as_vector<7>
0140 {
0141 template <typename I0>
0142 struct apply
0143 {
0144 typedef typename fusion::result_of::next<I0>::type I1; typedef typename fusion::result_of::next<I1>::type I2; typedef typename fusion::result_of::next<I2>::type I3; typedef typename fusion::result_of::next<I3>::type I4; typedef typename fusion::result_of::next<I4>::type I5; typedef typename fusion::result_of::next<I5>::type I6; typedef typename fusion::result_of::next<I6>::type I7;
0145 typedef typename fusion::result_of::value_of<I0>::type T0; typedef typename fusion::result_of::value_of<I1>::type T1; typedef typename fusion::result_of::value_of<I2>::type T2; typedef typename fusion::result_of::value_of<I3>::type T3; typedef typename fusion::result_of::value_of<I4>::type T4; typedef typename fusion::result_of::value_of<I5>::type T5; typedef typename fusion::result_of::value_of<I6>::type T6;
0146 typedef vector7<T0 , T1 , T2 , T3 , T4 , T5 , T6> type;
0147 };
0148 template <typename Iterator>
0149 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0150 static typename apply<Iterator>::type
0151 call(Iterator const& i0)
0152 {
0153 typedef apply<Iterator> gen;
0154 typedef typename gen::type result;
0155 typename gen::I1 i1 = fusion::next(i0); typename gen::I2 i2 = fusion::next(i1); typename gen::I3 i3 = fusion::next(i2); typename gen::I4 i4 = fusion::next(i3); typename gen::I5 i5 = fusion::next(i4); typename gen::I6 i6 = fusion::next(i5);
0156 return result(*i0 , *i1 , *i2 , *i3 , *i4 , *i5 , *i6);
0157 }
0158 };
0159 template <>
0160 struct as_vector<8>
0161 {
0162 template <typename I0>
0163 struct apply
0164 {
0165 typedef typename fusion::result_of::next<I0>::type I1; typedef typename fusion::result_of::next<I1>::type I2; typedef typename fusion::result_of::next<I2>::type I3; typedef typename fusion::result_of::next<I3>::type I4; typedef typename fusion::result_of::next<I4>::type I5; typedef typename fusion::result_of::next<I5>::type I6; typedef typename fusion::result_of::next<I6>::type I7; typedef typename fusion::result_of::next<I7>::type I8;
0166 typedef typename fusion::result_of::value_of<I0>::type T0; typedef typename fusion::result_of::value_of<I1>::type T1; typedef typename fusion::result_of::value_of<I2>::type T2; typedef typename fusion::result_of::value_of<I3>::type T3; typedef typename fusion::result_of::value_of<I4>::type T4; typedef typename fusion::result_of::value_of<I5>::type T5; typedef typename fusion::result_of::value_of<I6>::type T6; typedef typename fusion::result_of::value_of<I7>::type T7;
0167 typedef vector8<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7> type;
0168 };
0169 template <typename Iterator>
0170 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0171 static typename apply<Iterator>::type
0172 call(Iterator const& i0)
0173 {
0174 typedef apply<Iterator> gen;
0175 typedef typename gen::type result;
0176 typename gen::I1 i1 = fusion::next(i0); typename gen::I2 i2 = fusion::next(i1); typename gen::I3 i3 = fusion::next(i2); typename gen::I4 i4 = fusion::next(i3); typename gen::I5 i5 = fusion::next(i4); typename gen::I6 i6 = fusion::next(i5); typename gen::I7 i7 = fusion::next(i6);
0177 return result(*i0 , *i1 , *i2 , *i3 , *i4 , *i5 , *i6 , *i7);
0178 }
0179 };
0180 template <>
0181 struct as_vector<9>
0182 {
0183 template <typename I0>
0184 struct apply
0185 {
0186 typedef typename fusion::result_of::next<I0>::type I1; typedef typename fusion::result_of::next<I1>::type I2; typedef typename fusion::result_of::next<I2>::type I3; typedef typename fusion::result_of::next<I3>::type I4; typedef typename fusion::result_of::next<I4>::type I5; typedef typename fusion::result_of::next<I5>::type I6; typedef typename fusion::result_of::next<I6>::type I7; typedef typename fusion::result_of::next<I7>::type I8; typedef typename fusion::result_of::next<I8>::type I9;
0187 typedef typename fusion::result_of::value_of<I0>::type T0; typedef typename fusion::result_of::value_of<I1>::type T1; typedef typename fusion::result_of::value_of<I2>::type T2; typedef typename fusion::result_of::value_of<I3>::type T3; typedef typename fusion::result_of::value_of<I4>::type T4; typedef typename fusion::result_of::value_of<I5>::type T5; typedef typename fusion::result_of::value_of<I6>::type T6; typedef typename fusion::result_of::value_of<I7>::type T7; typedef typename fusion::result_of::value_of<I8>::type T8;
0188 typedef vector9<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8> type;
0189 };
0190 template <typename Iterator>
0191 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0192 static typename apply<Iterator>::type
0193 call(Iterator const& i0)
0194 {
0195 typedef apply<Iterator> gen;
0196 typedef typename gen::type result;
0197 typename gen::I1 i1 = fusion::next(i0); typename gen::I2 i2 = fusion::next(i1); typename gen::I3 i3 = fusion::next(i2); typename gen::I4 i4 = fusion::next(i3); typename gen::I5 i5 = fusion::next(i4); typename gen::I6 i6 = fusion::next(i5); typename gen::I7 i7 = fusion::next(i6); typename gen::I8 i8 = fusion::next(i7);
0198 return result(*i0 , *i1 , *i2 , *i3 , *i4 , *i5 , *i6 , *i7 , *i8);
0199 }
0200 };
0201 template <>
0202 struct as_vector<10>
0203 {
0204 template <typename I0>
0205 struct apply
0206 {
0207 typedef typename fusion::result_of::next<I0>::type I1; typedef typename fusion::result_of::next<I1>::type I2; typedef typename fusion::result_of::next<I2>::type I3; typedef typename fusion::result_of::next<I3>::type I4; typedef typename fusion::result_of::next<I4>::type I5; typedef typename fusion::result_of::next<I5>::type I6; typedef typename fusion::result_of::next<I6>::type I7; typedef typename fusion::result_of::next<I7>::type I8; typedef typename fusion::result_of::next<I8>::type I9; typedef typename fusion::result_of::next<I9>::type I10;
0208 typedef typename fusion::result_of::value_of<I0>::type T0; typedef typename fusion::result_of::value_of<I1>::type T1; typedef typename fusion::result_of::value_of<I2>::type T2; typedef typename fusion::result_of::value_of<I3>::type T3; typedef typename fusion::result_of::value_of<I4>::type T4; typedef typename fusion::result_of::value_of<I5>::type T5; typedef typename fusion::result_of::value_of<I6>::type T6; typedef typename fusion::result_of::value_of<I7>::type T7; typedef typename fusion::result_of::value_of<I8>::type T8; typedef typename fusion::result_of::value_of<I9>::type T9;
0209 typedef vector10<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9> type;
0210 };
0211 template <typename Iterator>
0212 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0213 static typename apply<Iterator>::type
0214 call(Iterator const& i0)
0215 {
0216 typedef apply<Iterator> gen;
0217 typedef typename gen::type result;
0218 typename gen::I1 i1 = fusion::next(i0); typename gen::I2 i2 = fusion::next(i1); typename gen::I3 i3 = fusion::next(i2); typename gen::I4 i4 = fusion::next(i3); typename gen::I5 i5 = fusion::next(i4); typename gen::I6 i6 = fusion::next(i5); typename gen::I7 i7 = fusion::next(i6); typename gen::I8 i8 = fusion::next(i7); typename gen::I9 i9 = fusion::next(i8);
0219 return result(*i0 , *i1 , *i2 , *i3 , *i4 , *i5 , *i6 , *i7 , *i8 , *i9);
0220 }
0221 };
0222 BOOST_FUSION_BARRIER_END
0223 }}}