diff -aur boost.orig/unordered/detail/emplace_args.hpp boost/unordered/detail/emplace_args.hpp
old
|
new
|
|
160 | 160 | // |
161 | 161 | // Used for piecewise construction. |
162 | 162 | |
163 | | #if !BOOST_WORKAROUND(__SUNPRO_CC, <= 0x590) |
| 163 | #if !BOOST_WORKAROUND(__SUNPRO_CC, <= 0x5120) |
164 | 164 | |
165 | 165 | #define BOOST_UNORDERED_CONSTRUCT_FROM_TUPLE(n, namespace_) \ |
166 | 166 | template<typename T> \ |
… |
… |
|
207 | 207 | new ((void*) ptr) T(); |
208 | 208 | } |
209 | 209 | |
210 | | #define BOOST_UNORDERED_CONSTRUCT_FROM_TUPLE_IMPL(z, n, _) \ |
| 210 | #define BOOST_UNORDERED_CONSTRUCT_FROM_TUPLE_IMPL(z, n, namespace_) \ |
211 | 211 | template<typename T, BOOST_PP_ENUM_PARAMS_Z(z, n, typename A)> \ |
212 | 212 | void construct_from_tuple_impl( \ |
213 | 213 | boost::unordered::detail::length<n>, T* ptr, \ |
… |
… |
|
218 | 218 | ); \ |
219 | 219 | } |
220 | 220 | |
221 | | #define BOOST_UNORDERED_GET_TUPLE_ARG(z, n, _) \ |
| 221 | #define BOOST_UNORDERED_GET_TUPLE_ARG(z, n, namespace_) \ |
222 | 222 | boost::get<n>(x) |
223 | 223 | |
224 | 224 | BOOST_PP_REPEAT_FROM_TO(1, 10, \ |
225 | | BOOST_UNORDERED_CONSTRUCT_FROM_TUPLE_IMPL, _) |
| 225 | BOOST_UNORDERED_CONSTRUCT_FROM_TUPLE_IMPL, boost) |
226 | 226 | |
227 | 227 | template <typename T, typename Tuple> |
228 | 228 | void construct_from_tuple(T* ptr, Tuple const& x) |