Warning, file /include/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10.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
0010 {
0011 struct void_;
0012 struct fusion_sequence_tag;
0013 template <typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9>
0014 struct vector
0015 : sequence_base<vector<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9> >
0016 {
0017 private:
0018 typedef typename detail::vector_n_chooser<
0019 T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9>::type
0020 vector_n;
0021 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6 , typename U7 , typename U8 , typename U9>
0022 friend struct vector;
0023 public:
0024 typedef typename vector_n::types types;
0025 typedef typename vector_n::fusion_tag fusion_tag;
0026 typedef typename vector_n::tag tag;
0027 typedef typename vector_n::size size;
0028 typedef typename vector_n::category category;
0029 typedef typename vector_n::is_view is_view;
0030 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0031 vector()
0032 : vec() {}
0033 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6 , typename U7 , typename U8 , typename U9>
0034 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0035 vector(vector<U0 , U1 , U2 , U3 , U4 , U5 , U6 , U7 , U8 , U9> const& rhs)
0036 : vec(rhs.vec) {}
0037 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0038 vector(vector const& rhs)
0039 : vec(rhs.vec) {}
0040 template <typename Sequence>
0041 BOOST_FUSION_GPU_ENABLED
0042 vector(Sequence const& rhs,
0043 typename enable_if<traits::is_sequence<Sequence>, detail::enabler_>::type = detail::enabler)
0044 : vec(BOOST_FUSION_VECTOR_COPY_INIT()) {}
0045
0046
0047
0048
0049
0050
0051
0052
0053 # if !defined(BOOST_CLANG)
0054 BOOST_CONSTEXPR
0055 # endif
0056 BOOST_FUSION_GPU_ENABLED
0057 explicit
0058 vector(typename detail::call_param<T0 >::type arg0)
0059 : vec(arg0) {}
0060 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0061 template <typename U0>
0062
0063 # if !defined(BOOST_CLANG)
0064 BOOST_CXX14_CONSTEXPR
0065 # endif
0066 BOOST_FUSION_GPU_ENABLED
0067 explicit
0068 vector(U0 && arg0
0069 , typename boost::disable_if_c<boost::is_same<vector, typename boost::remove_cv_ref<U0>::type>::value, detail::enabler_>::type = detail::enabler
0070 )
0071 : vec(std::forward<U0>( arg0)) {}
0072 # endif
0073
0074 # if !defined(BOOST_CLANG)
0075 BOOST_CONSTEXPR
0076 # endif
0077 BOOST_FUSION_GPU_ENABLED
0078 vector(typename detail::call_param<T0 >::type arg0 , typename detail::call_param<T1 >::type arg1)
0079 : vec(arg0 , arg1) {}
0080 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0081 template <typename U0 , typename U1>
0082
0083 # if !defined(BOOST_CLANG)
0084 BOOST_CXX14_CONSTEXPR
0085 # endif
0086 BOOST_FUSION_GPU_ENABLED
0087 vector(U0 && arg0 , U1 && arg1
0088 )
0089 : vec(std::forward<U0>( arg0) , std::forward<U1>( arg1)) {}
0090 # endif
0091
0092 # if !defined(BOOST_CLANG)
0093 BOOST_CONSTEXPR
0094 # endif
0095 BOOST_FUSION_GPU_ENABLED
0096 vector(typename detail::call_param<T0 >::type arg0 , typename detail::call_param<T1 >::type arg1 , typename detail::call_param<T2 >::type arg2)
0097 : vec(arg0 , arg1 , arg2) {}
0098 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0099 template <typename U0 , typename U1 , typename U2>
0100
0101 # if !defined(BOOST_CLANG)
0102 BOOST_CXX14_CONSTEXPR
0103 # endif
0104 BOOST_FUSION_GPU_ENABLED
0105 vector(U0 && arg0 , U1 && arg1 , U2 && arg2
0106 )
0107 : vec(std::forward<U0>( arg0) , std::forward<U1>( arg1) , std::forward<U2>( arg2)) {}
0108 # endif
0109
0110 # if !defined(BOOST_CLANG)
0111 BOOST_CONSTEXPR
0112 # endif
0113 BOOST_FUSION_GPU_ENABLED
0114 vector(typename detail::call_param<T0 >::type arg0 , typename detail::call_param<T1 >::type arg1 , typename detail::call_param<T2 >::type arg2 , typename detail::call_param<T3 >::type arg3)
0115 : vec(arg0 , arg1 , arg2 , arg3) {}
0116 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0117 template <typename U0 , typename U1 , typename U2 , typename U3>
0118
0119 # if !defined(BOOST_CLANG)
0120 BOOST_CXX14_CONSTEXPR
0121 # endif
0122 BOOST_FUSION_GPU_ENABLED
0123 vector(U0 && arg0 , U1 && arg1 , U2 && arg2 , U3 && arg3
0124 )
0125 : vec(std::forward<U0>( arg0) , std::forward<U1>( arg1) , std::forward<U2>( arg2) , std::forward<U3>( arg3)) {}
0126 # endif
0127
0128 # if !defined(BOOST_CLANG)
0129 BOOST_CONSTEXPR
0130 # endif
0131 BOOST_FUSION_GPU_ENABLED
0132 vector(typename detail::call_param<T0 >::type arg0 , typename detail::call_param<T1 >::type arg1 , typename detail::call_param<T2 >::type arg2 , typename detail::call_param<T3 >::type arg3 , typename detail::call_param<T4 >::type arg4)
0133 : vec(arg0 , arg1 , arg2 , arg3 , arg4) {}
0134 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0135 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4>
0136
0137 # if !defined(BOOST_CLANG)
0138 BOOST_CXX14_CONSTEXPR
0139 # endif
0140 BOOST_FUSION_GPU_ENABLED
0141 vector(U0 && arg0 , U1 && arg1 , U2 && arg2 , U3 && arg3 , U4 && arg4
0142 )
0143 : vec(std::forward<U0>( arg0) , std::forward<U1>( arg1) , std::forward<U2>( arg2) , std::forward<U3>( arg3) , std::forward<U4>( arg4)) {}
0144 # endif
0145
0146 # if !defined(BOOST_CLANG)
0147 BOOST_CONSTEXPR
0148 # endif
0149 BOOST_FUSION_GPU_ENABLED
0150 vector(typename detail::call_param<T0 >::type arg0 , typename detail::call_param<T1 >::type arg1 , typename detail::call_param<T2 >::type arg2 , typename detail::call_param<T3 >::type arg3 , typename detail::call_param<T4 >::type arg4 , typename detail::call_param<T5 >::type arg5)
0151 : vec(arg0 , arg1 , arg2 , arg3 , arg4 , arg5) {}
0152 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0153 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5>
0154
0155 # if !defined(BOOST_CLANG)
0156 BOOST_CXX14_CONSTEXPR
0157 # endif
0158 BOOST_FUSION_GPU_ENABLED
0159 vector(U0 && arg0 , U1 && arg1 , U2 && arg2 , U3 && arg3 , U4 && arg4 , U5 && arg5
0160 )
0161 : vec(std::forward<U0>( arg0) , std::forward<U1>( arg1) , std::forward<U2>( arg2) , std::forward<U3>( arg3) , std::forward<U4>( arg4) , std::forward<U5>( arg5)) {}
0162 # endif
0163
0164 # if !defined(BOOST_CLANG)
0165 BOOST_CONSTEXPR
0166 # endif
0167 BOOST_FUSION_GPU_ENABLED
0168 vector(typename detail::call_param<T0 >::type arg0 , typename detail::call_param<T1 >::type arg1 , typename detail::call_param<T2 >::type arg2 , typename detail::call_param<T3 >::type arg3 , typename detail::call_param<T4 >::type arg4 , typename detail::call_param<T5 >::type arg5 , typename detail::call_param<T6 >::type arg6)
0169 : vec(arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6) {}
0170 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0171 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6>
0172
0173 # if !defined(BOOST_CLANG)
0174 BOOST_CXX14_CONSTEXPR
0175 # endif
0176 BOOST_FUSION_GPU_ENABLED
0177 vector(U0 && arg0 , U1 && arg1 , U2 && arg2 , U3 && arg3 , U4 && arg4 , U5 && arg5 , U6 && arg6
0178 )
0179 : vec(std::forward<U0>( arg0) , std::forward<U1>( arg1) , std::forward<U2>( arg2) , std::forward<U3>( arg3) , std::forward<U4>( arg4) , std::forward<U5>( arg5) , std::forward<U6>( arg6)) {}
0180 # endif
0181
0182 # if !defined(BOOST_CLANG)
0183 BOOST_CONSTEXPR
0184 # endif
0185 BOOST_FUSION_GPU_ENABLED
0186 vector(typename detail::call_param<T0 >::type arg0 , typename detail::call_param<T1 >::type arg1 , typename detail::call_param<T2 >::type arg2 , typename detail::call_param<T3 >::type arg3 , typename detail::call_param<T4 >::type arg4 , typename detail::call_param<T5 >::type arg5 , typename detail::call_param<T6 >::type arg6 , typename detail::call_param<T7 >::type arg7)
0187 : vec(arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7) {}
0188 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0189 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6 , typename U7>
0190
0191 # if !defined(BOOST_CLANG)
0192 BOOST_CXX14_CONSTEXPR
0193 # endif
0194 BOOST_FUSION_GPU_ENABLED
0195 vector(U0 && arg0 , U1 && arg1 , U2 && arg2 , U3 && arg3 , U4 && arg4 , U5 && arg5 , U6 && arg6 , U7 && arg7
0196 )
0197 : vec(std::forward<U0>( arg0) , std::forward<U1>( arg1) , std::forward<U2>( arg2) , std::forward<U3>( arg3) , std::forward<U4>( arg4) , std::forward<U5>( arg5) , std::forward<U6>( arg6) , std::forward<U7>( arg7)) {}
0198 # endif
0199
0200 # if !defined(BOOST_CLANG)
0201 BOOST_CONSTEXPR
0202 # endif
0203 BOOST_FUSION_GPU_ENABLED
0204 vector(typename detail::call_param<T0 >::type arg0 , typename detail::call_param<T1 >::type arg1 , typename detail::call_param<T2 >::type arg2 , typename detail::call_param<T3 >::type arg3 , typename detail::call_param<T4 >::type arg4 , typename detail::call_param<T5 >::type arg5 , typename detail::call_param<T6 >::type arg6 , typename detail::call_param<T7 >::type arg7 , typename detail::call_param<T8 >::type arg8)
0205 : vec(arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 , arg8) {}
0206 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0207 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6 , typename U7 , typename U8>
0208
0209 # if !defined(BOOST_CLANG)
0210 BOOST_CXX14_CONSTEXPR
0211 # endif
0212 BOOST_FUSION_GPU_ENABLED
0213 vector(U0 && arg0 , U1 && arg1 , U2 && arg2 , U3 && arg3 , U4 && arg4 , U5 && arg5 , U6 && arg6 , U7 && arg7 , U8 && arg8
0214 )
0215 : vec(std::forward<U0>( arg0) , std::forward<U1>( arg1) , std::forward<U2>( arg2) , std::forward<U3>( arg3) , std::forward<U4>( arg4) , std::forward<U5>( arg5) , std::forward<U6>( arg6) , std::forward<U7>( arg7) , std::forward<U8>( arg8)) {}
0216 # endif
0217
0218 # if !defined(BOOST_CLANG)
0219 BOOST_CONSTEXPR
0220 # endif
0221 BOOST_FUSION_GPU_ENABLED
0222 vector(typename detail::call_param<T0 >::type arg0 , typename detail::call_param<T1 >::type arg1 , typename detail::call_param<T2 >::type arg2 , typename detail::call_param<T3 >::type arg3 , typename detail::call_param<T4 >::type arg4 , typename detail::call_param<T5 >::type arg5 , typename detail::call_param<T6 >::type arg6 , typename detail::call_param<T7 >::type arg7 , typename detail::call_param<T8 >::type arg8 , typename detail::call_param<T9 >::type arg9)
0223 : vec(arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 , arg8 , arg9) {}
0224 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0225 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6 , typename U7 , typename U8 , typename U9>
0226
0227 # if !defined(BOOST_CLANG)
0228 BOOST_CXX14_CONSTEXPR
0229 # endif
0230 BOOST_FUSION_GPU_ENABLED
0231 vector(U0 && arg0 , U1 && arg1 , U2 && arg2 , U3 && arg3 , U4 && arg4 , U5 && arg5 , U6 && arg6 , U7 && arg7 , U8 && arg8 , U9 && arg9
0232 )
0233 : vec(std::forward<U0>( arg0) , std::forward<U1>( arg1) , std::forward<U2>( arg2) , std::forward<U3>( arg3) , std::forward<U4>( arg4) , std::forward<U5>( arg5) , std::forward<U6>( arg6) , std::forward<U7>( arg7) , std::forward<U8>( arg8) , std::forward<U9>( arg9)) {}
0234 # endif
0235 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6 , typename U7 , typename U8 , typename U9>
0236 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0237 vector&
0238 operator=(vector<U0 , U1 , U2 , U3 , U4 , U5 , U6 , U7 , U8 , U9> const& rhs)
0239 {
0240 vec = rhs.vec;
0241 return *this;
0242 }
0243 template <typename T>
0244 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0245 vector&
0246 operator=(T const& rhs)
0247 {
0248 vec = rhs;
0249 return *this;
0250 }
0251 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0252 vector&
0253 operator=(vector const& rhs)
0254 {
0255 vec = rhs.vec;
0256 return *this;
0257 }
0258 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0259 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0260 vector(vector&& rhs)
0261 : vec(std::forward<vector_n>(rhs.vec)) {}
0262 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0263 vector&
0264 operator=(vector&& rhs)
0265 {
0266 vec = std::forward<vector_n>(rhs.vec);
0267 return *this;
0268 }
0269 template <typename T>
0270 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0271 typename boost::disable_if_c<
0272 boost::is_same<vector, typename boost::remove_cv_ref<T>::type>::value
0273 , vector&
0274 >::type
0275 operator=(T&& rhs)
0276 {
0277 vec = std::forward<T>( rhs);
0278 return *this;
0279 }
0280 # endif
0281 template <int N>
0282 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0283 typename add_reference<
0284 typename mpl::at_c<types, N>::type
0285 >::type
0286 at_impl(mpl::int_<N> index)
0287 {
0288 return vec.at_impl(index);
0289 }
0290 template <int N>
0291 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0292 typename add_reference<
0293 typename add_const<
0294 typename mpl::at_c<types, N>::type
0295 >::type
0296 >::type
0297 at_impl(mpl::int_<N> index) const
0298 {
0299 return vec.at_impl(index);
0300 }
0301 template <typename I>
0302 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0303 typename add_reference<
0304 typename mpl::at<types, I>::type
0305 >::type
0306 at_impl(I )
0307 {
0308 return vec.at_impl(mpl::int_<I::value>());
0309 }
0310 template<typename I>
0311 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0312 typename add_reference<
0313 typename add_const<
0314 typename mpl::at<types, I>::type
0315 >::type
0316 >::type
0317 at_impl(I ) const
0318 {
0319 return vec.at_impl(mpl::int_<I::value>());
0320 }
0321 private:
0322 BOOST_FUSION_VECTOR_CTOR_HELPER()
0323 vector_n vec;
0324 };
0325 }}