Warning, file /include/boost/fusion/container/map/detail/cpp03/preprocessed/map10.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 map : sequence_base<map<T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9> >
0015 {
0016 struct category : random_access_traversal_tag, associative_tag {};
0017 typedef map_tag fusion_tag;
0018 typedef fusion_sequence_tag tag;
0019 typedef mpl::false_ is_view;
0020 typedef vector<
0021 T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9>
0022 storage_type;
0023 typedef typename storage_type::size size;
0024 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0025 map()
0026 : data() {}
0027 BOOST_FUSION_GPU_ENABLED
0028 map(map const& rhs)
0029 : data(rhs.data) {}
0030 template <typename Sequence>
0031 BOOST_FUSION_GPU_ENABLED
0032 map(Sequence const& rhs)
0033 : data(rhs) {}
0034 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0035 explicit
0036 map(typename detail::call_param<T0 >::type arg0)
0037 : data(arg0) {}
0038 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0039 template <typename U0>
0040 BOOST_FUSION_GPU_ENABLED
0041 explicit
0042 map(U0 && arg0
0043
0044 # if defined(BOOST_MSVC) && (BOOST_MSVC == 1700)
0045 , typename enable_if<is_same<U0, T0> >::type* = 0
0046 # endif
0047 )
0048 : data(std::forward<U0>( arg0)) {}
0049 # endif
0050 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0051 map(typename detail::call_param<T0 >::type arg0 , typename detail::call_param<T1 >::type arg1)
0052 : data(arg0 , arg1) {}
0053 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0054 template <typename U0 , typename U1>
0055 BOOST_FUSION_GPU_ENABLED
0056 map(U0 && arg0 , U1 && arg1
0057 )
0058 : data(std::forward<U0>( arg0) , std::forward<U1>( arg1)) {}
0059 # endif
0060 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0061 map(typename detail::call_param<T0 >::type arg0 , typename detail::call_param<T1 >::type arg1 , typename detail::call_param<T2 >::type arg2)
0062 : data(arg0 , arg1 , arg2) {}
0063 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0064 template <typename U0 , typename U1 , typename U2>
0065 BOOST_FUSION_GPU_ENABLED
0066 map(U0 && arg0 , U1 && arg1 , U2 && arg2
0067 )
0068 : data(std::forward<U0>( arg0) , std::forward<U1>( arg1) , std::forward<U2>( arg2)) {}
0069 # endif
0070 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0071 map(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)
0072 : data(arg0 , arg1 , arg2 , arg3) {}
0073 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0074 template <typename U0 , typename U1 , typename U2 , typename U3>
0075 BOOST_FUSION_GPU_ENABLED
0076 map(U0 && arg0 , U1 && arg1 , U2 && arg2 , U3 && arg3
0077 )
0078 : data(std::forward<U0>( arg0) , std::forward<U1>( arg1) , std::forward<U2>( arg2) , std::forward<U3>( arg3)) {}
0079 # endif
0080 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0081 map(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)
0082 : data(arg0 , arg1 , arg2 , arg3 , arg4) {}
0083 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0084 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4>
0085 BOOST_FUSION_GPU_ENABLED
0086 map(U0 && arg0 , U1 && arg1 , U2 && arg2 , U3 && arg3 , U4 && arg4
0087 )
0088 : data(std::forward<U0>( arg0) , std::forward<U1>( arg1) , std::forward<U2>( arg2) , std::forward<U3>( arg3) , std::forward<U4>( arg4)) {}
0089 # endif
0090 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0091 map(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)
0092 : data(arg0 , arg1 , arg2 , arg3 , arg4 , arg5) {}
0093 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0094 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5>
0095 BOOST_FUSION_GPU_ENABLED
0096 map(U0 && arg0 , U1 && arg1 , U2 && arg2 , U3 && arg3 , U4 && arg4 , U5 && arg5
0097 )
0098 : data(std::forward<U0>( arg0) , std::forward<U1>( arg1) , std::forward<U2>( arg2) , std::forward<U3>( arg3) , std::forward<U4>( arg4) , std::forward<U5>( arg5)) {}
0099 # endif
0100 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0101 map(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)
0102 : data(arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6) {}
0103 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0104 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6>
0105 BOOST_FUSION_GPU_ENABLED
0106 map(U0 && arg0 , U1 && arg1 , U2 && arg2 , U3 && arg3 , U4 && arg4 , U5 && arg5 , U6 && arg6
0107 )
0108 : data(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)) {}
0109 # endif
0110 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0111 map(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)
0112 : data(arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7) {}
0113 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0114 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6 , typename U7>
0115 BOOST_FUSION_GPU_ENABLED
0116 map(U0 && arg0 , U1 && arg1 , U2 && arg2 , U3 && arg3 , U4 && arg4 , U5 && arg5 , U6 && arg6 , U7 && arg7
0117 )
0118 : data(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)) {}
0119 # endif
0120 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0121 map(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)
0122 : data(arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 , arg8) {}
0123 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0124 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6 , typename U7 , typename U8>
0125 BOOST_FUSION_GPU_ENABLED
0126 map(U0 && arg0 , U1 && arg1 , U2 && arg2 , U3 && arg3 , U4 && arg4 , U5 && arg5 , U6 && arg6 , U7 && arg7 , U8 && arg8
0127 )
0128 : data(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)) {}
0129 # endif
0130 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0131 map(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)
0132 : data(arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 , arg8 , arg9) {}
0133 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0134 template <typename U0 , typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6 , typename U7 , typename U8 , typename U9>
0135 BOOST_FUSION_GPU_ENABLED
0136 map(U0 && arg0 , U1 && arg1 , U2 && arg2 , U3 && arg3 , U4 && arg4 , U5 && arg5 , U6 && arg6 , U7 && arg7 , U8 && arg8 , U9 && arg9
0137 )
0138 : data(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)) {}
0139 # endif
0140 template <typename T>
0141 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0142 map& operator=(T const& rhs)
0143 {
0144 data = rhs;
0145 return *this;
0146 }
0147 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0148 map& operator=(map const& rhs)
0149 {
0150 data = rhs.data;
0151 return *this;
0152 }
0153 # if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
0154 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0155 map(map&& rhs)
0156 : data(std::move(rhs.data)) {}
0157 template <typename T>
0158 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0159 map& operator=(T&& rhs)
0160 {
0161 data = std::forward<T>( rhs);
0162 return *this;
0163 }
0164 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0165 map& operator=(map&& rhs)
0166 {
0167 data = std::move(rhs.data);
0168 return *this;
0169 }
0170 # endif
0171 BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0172 storage_type& get_data() { return data; }
0173 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0174 storage_type const& get_data() const { return data; }
0175 private:
0176 storage_type data;
0177 };
0178 }}