/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) This is an auto-generated file. Do not edit! ==============================================================================*/ namespace boost { namespace fusion { struct void_; struct fusion_sequence_tag; template struct vector : sequence_base > { private: typedef typename detail::vector_n_chooser< T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9>::type vector_n; template friend struct vector; public: typedef typename vector_n::types types; typedef typename vector_n::fusion_tag fusion_tag; typedef typename vector_n::tag tag; typedef typename vector_n::size size; typedef typename vector_n::category category; typedef typename vector_n::is_view is_view; BOOST_FUSION_GPU_ENABLED vector() : vec() {} template BOOST_FUSION_GPU_ENABLED vector(vector const& rhs) : vec(rhs.vec) {} BOOST_FUSION_GPU_ENABLED vector(vector const& rhs) : vec(rhs.vec) {} template BOOST_FUSION_GPU_ENABLED vector(Sequence const& rhs) : vec(BOOST_FUSION_VECTOR_COPY_INIT()) {} BOOST_FUSION_GPU_ENABLED explicit vector(typename detail::call_param::type _0) : vec(_0) {} # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) template BOOST_FUSION_GPU_ENABLED explicit vector(U0 && _0) : vec(std::forward(_0)) {} # endif BOOST_FUSION_GPU_ENABLED vector(typename detail::call_param::type _0 , typename detail::call_param::type _1) : vec(_0 , _1) {} # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) template BOOST_FUSION_GPU_ENABLED vector(U0 && _0 , U1 && _1) : vec(std::forward(_0) , std::forward(_1)) {} # endif BOOST_FUSION_GPU_ENABLED vector(typename detail::call_param::type _0 , typename detail::call_param::type _1 , typename detail::call_param::type _2) : vec(_0 , _1 , _2) {} # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) template BOOST_FUSION_GPU_ENABLED vector(U0 && _0 , U1 && _1 , U2 && _2) : vec(std::forward(_0) , std::forward(_1) , std::forward(_2)) {} # endif BOOST_FUSION_GPU_ENABLED vector(typename detail::call_param::type _0 , typename detail::call_param::type _1 , typename detail::call_param::type _2 , typename detail::call_param::type _3) : vec(_0 , _1 , _2 , _3) {} # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) template BOOST_FUSION_GPU_ENABLED vector(U0 && _0 , U1 && _1 , U2 && _2 , U3 && _3) : vec(std::forward(_0) , std::forward(_1) , std::forward(_2) , std::forward(_3)) {} # endif BOOST_FUSION_GPU_ENABLED vector(typename detail::call_param::type _0 , typename detail::call_param::type _1 , typename detail::call_param::type _2 , typename detail::call_param::type _3 , typename detail::call_param::type _4) : vec(_0 , _1 , _2 , _3 , _4) {} # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) template BOOST_FUSION_GPU_ENABLED vector(U0 && _0 , U1 && _1 , U2 && _2 , U3 && _3 , U4 && _4) : vec(std::forward(_0) , std::forward(_1) , std::forward(_2) , std::forward(_3) , std::forward(_4)) {} # endif BOOST_FUSION_GPU_ENABLED vector(typename detail::call_param::type _0 , typename detail::call_param::type _1 , typename detail::call_param::type _2 , typename detail::call_param::type _3 , typename detail::call_param::type _4 , typename detail::call_param::type _5) : vec(_0 , _1 , _2 , _3 , _4 , _5) {} # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) template BOOST_FUSION_GPU_ENABLED vector(U0 && _0 , U1 && _1 , U2 && _2 , U3 && _3 , U4 && _4 , U5 && _5) : vec(std::forward(_0) , std::forward(_1) , std::forward(_2) , std::forward(_3) , std::forward(_4) , std::forward(_5)) {} # endif BOOST_FUSION_GPU_ENABLED vector(typename detail::call_param::type _0 , typename detail::call_param::type _1 , typename detail::call_param::type _2 , typename detail::call_param::type _3 , typename detail::call_param::type _4 , typename detail::call_param::type _5 , typename detail::call_param::type _6) : vec(_0 , _1 , _2 , _3 , _4 , _5 , _6) {} # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) template BOOST_FUSION_GPU_ENABLED vector(U0 && _0 , U1 && _1 , U2 && _2 , U3 && _3 , U4 && _4 , U5 && _5 , U6 && _6) : vec(std::forward(_0) , std::forward(_1) , std::forward(_2) , std::forward(_3) , std::forward(_4) , std::forward(_5) , std::forward(_6)) {} # endif BOOST_FUSION_GPU_ENABLED vector(typename detail::call_param::type _0 , typename detail::call_param::type _1 , typename detail::call_param::type _2 , typename detail::call_param::type _3 , typename detail::call_param::type _4 , typename detail::call_param::type _5 , typename detail::call_param::type _6 , typename detail::call_param::type _7) : vec(_0 , _1 , _2 , _3 , _4 , _5 , _6 , _7) {} # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) template BOOST_FUSION_GPU_ENABLED vector(U0 && _0 , U1 && _1 , U2 && _2 , U3 && _3 , U4 && _4 , U5 && _5 , U6 && _6 , U7 && _7) : vec(std::forward(_0) , std::forward(_1) , std::forward(_2) , std::forward(_3) , std::forward(_4) , std::forward(_5) , std::forward(_6) , std::forward(_7)) {} # endif BOOST_FUSION_GPU_ENABLED vector(typename detail::call_param::type _0 , typename detail::call_param::type _1 , typename detail::call_param::type _2 , typename detail::call_param::type _3 , typename detail::call_param::type _4 , typename detail::call_param::type _5 , typename detail::call_param::type _6 , typename detail::call_param::type _7 , typename detail::call_param::type _8) : vec(_0 , _1 , _2 , _3 , _4 , _5 , _6 , _7 , _8) {} # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) template BOOST_FUSION_GPU_ENABLED vector(U0 && _0 , U1 && _1 , U2 && _2 , U3 && _3 , U4 && _4 , U5 && _5 , U6 && _6 , U7 && _7 , U8 && _8) : vec(std::forward(_0) , std::forward(_1) , std::forward(_2) , std::forward(_3) , std::forward(_4) , std::forward(_5) , std::forward(_6) , std::forward(_7) , std::forward(_8)) {} # endif BOOST_FUSION_GPU_ENABLED vector(typename detail::call_param::type _0 , typename detail::call_param::type _1 , typename detail::call_param::type _2 , typename detail::call_param::type _3 , typename detail::call_param::type _4 , typename detail::call_param::type _5 , typename detail::call_param::type _6 , typename detail::call_param::type _7 , typename detail::call_param::type _8 , typename detail::call_param::type _9) : vec(_0 , _1 , _2 , _3 , _4 , _5 , _6 , _7 , _8 , _9) {} # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) template BOOST_FUSION_GPU_ENABLED vector(U0 && _0 , U1 && _1 , U2 && _2 , U3 && _3 , U4 && _4 , U5 && _5 , U6 && _6 , U7 && _7 , U8 && _8 , U9 && _9) : vec(std::forward(_0) , std::forward(_1) , std::forward(_2) , std::forward(_3) , std::forward(_4) , std::forward(_5) , std::forward(_6) , std::forward(_7) , std::forward(_8) , std::forward(_9)) {} # endif template BOOST_FUSION_GPU_ENABLED vector& operator=(vector const& rhs) { vec = rhs.vec; return *this; } template BOOST_FUSION_GPU_ENABLED vector& operator=(T const& rhs) { vec = rhs; return *this; } BOOST_FUSION_GPU_ENABLED vector& operator=(vector const& rhs) { vec = rhs.vec; return *this; } # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) BOOST_FUSION_GPU_ENABLED vector(vector&& rhs) : vec(std::forward(rhs.vec)) {} BOOST_FUSION_GPU_ENABLED vector& operator=(vector&& rhs) { vec = std::forward(rhs.vec); return *this; } template BOOST_FUSION_GPU_ENABLED vector& operator=(T&& rhs) { vec = std::forward(rhs); return *this; } # endif template BOOST_FUSION_GPU_ENABLED typename add_reference< typename mpl::at_c::type >::type at_impl(mpl::int_ index) { return vec.at_impl(index); } template BOOST_FUSION_GPU_ENABLED typename add_reference< typename add_const< typename mpl::at_c::type >::type >::type at_impl(mpl::int_ index) const { return vec.at_impl(index); } template BOOST_FUSION_GPU_ENABLED typename add_reference< typename mpl::at::type >::type at_impl(I ) { return vec.at_impl(mpl::int_()); } template BOOST_FUSION_GPU_ENABLED typename add_reference< typename add_const< typename mpl::at::type >::type >::type at_impl(I ) const { return vec.at_impl(mpl::int_()); } private: BOOST_FUSION_VECTOR_CTOR_HELPER() vector_n vec; }; }}