mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 11:27:15 +02:00
Expand out more preprocessor repeats
This commit is contained in:
@ -616,8 +616,14 @@ inline emplace_args3<A0, A1, A2> create_emplace_args(
|
||||
return e; \
|
||||
}
|
||||
|
||||
BOOST_UNORDERED_EARGS(1, 4, _)
|
||||
BOOST_UNORDERED_EARGS(1, 5, _)
|
||||
BOOST_UNORDERED_EARGS(1, 6, _)
|
||||
BOOST_UNORDERED_EARGS(1, 7, _)
|
||||
BOOST_UNORDERED_EARGS(1, 8, _)
|
||||
BOOST_UNORDERED_EARGS(1, 9, _)
|
||||
BOOST_PP_REPEAT_FROM_TO(
|
||||
4, BOOST_PP_INC(BOOST_UNORDERED_EMPLACE_LIMIT), BOOST_UNORDERED_EARGS, _)
|
||||
10, BOOST_PP_INC(BOOST_UNORDERED_EMPLACE_LIMIT), BOOST_UNORDERED_EARGS, _)
|
||||
|
||||
#undef BOOST_UNORDERED_DEFINE_EMPLACE_ARGS
|
||||
#undef BOOST_UNORDERED_EARGS_MEMBER
|
||||
@ -1588,7 +1594,13 @@ inline void construct_from_args(
|
||||
num_params, BOOST_UNORDERED_CALL_FORWARD, args.a)); \
|
||||
}
|
||||
|
||||
BOOST_PP_REPEAT_FROM_TO(4, BOOST_PP_INC(BOOST_UNORDERED_EMPLACE_LIMIT),
|
||||
BOOST_UNORDERED_CONSTRUCT_IMPL(1, 4, _)
|
||||
BOOST_UNORDERED_CONSTRUCT_IMPL(1, 5, _)
|
||||
BOOST_UNORDERED_CONSTRUCT_IMPL(1, 6, _)
|
||||
BOOST_UNORDERED_CONSTRUCT_IMPL(1, 7, _)
|
||||
BOOST_UNORDERED_CONSTRUCT_IMPL(1, 8, _)
|
||||
BOOST_UNORDERED_CONSTRUCT_IMPL(1, 9, _)
|
||||
BOOST_PP_REPEAT_FROM_TO(10, BOOST_PP_INC(BOOST_UNORDERED_EMPLACE_LIMIT),
|
||||
BOOST_UNORDERED_CONSTRUCT_IMPL, _)
|
||||
|
||||
#undef BOOST_UNORDERED_CONSTRUCT_IMPL
|
||||
|
@ -656,7 +656,13 @@ template <class K, class T, class H, class P, class A> class unordered_map
|
||||
n, BOOST_UNORDERED_CALL_FORWARD, a))); \
|
||||
}
|
||||
|
||||
BOOST_PP_REPEAT_FROM_TO(4, BOOST_PP_INC(BOOST_UNORDERED_EMPLACE_LIMIT),
|
||||
BOOST_UNORDERED_TRY_EMPLACE(1, 4, _)
|
||||
BOOST_UNORDERED_TRY_EMPLACE(1, 5, _)
|
||||
BOOST_UNORDERED_TRY_EMPLACE(1, 6, _)
|
||||
BOOST_UNORDERED_TRY_EMPLACE(1, 7, _)
|
||||
BOOST_UNORDERED_TRY_EMPLACE(1, 8, _)
|
||||
BOOST_UNORDERED_TRY_EMPLACE(1, 9, _)
|
||||
BOOST_PP_REPEAT_FROM_TO(10, BOOST_PP_INC(BOOST_UNORDERED_EMPLACE_LIMIT),
|
||||
BOOST_UNORDERED_TRY_EMPLACE, _)
|
||||
|
||||
#undef BOOST_UNORDERED_TRY_EMPLACE
|
||||
|
Reference in New Issue
Block a user