BUGFIX: When VARIADICS are active supporting any of the input combination.

That is : BOOST_FUSION_ADAPT_AUTO, omitting type or specifying type.
This commit is contained in:
Damien Buhl (alias daminetreg)
2014-09-17 00:47:52 +02:00
parent f0bc2a2ac1
commit 69e67cd1ad
2 changed files with 86 additions and 2 deletions

View File

@ -102,9 +102,9 @@ namespace ns
#if BOOST_PP_VARIADICS
BOOST_FUSION_ADAPT_ADT(
ns::point,
(int, int, obj.get_x(), obj.set_x(val))
(BOOST_FUSION_ADAPT_AUTO, BOOST_FUSION_ADAPT_AUTO, obj.get_x(), obj.set_x(val))
(obj.get_y(), obj.set_y(val))
(obj.get_z(), obj.set_z(val))
(int, int, obj.get_z(), obj.set_z(val))
)
# if !BOOST_WORKAROUND(__GNUC__,<4)