Adds accessors for the wrapped attributes and provide preliminary support for type deduction to ADAPT_ASSOC* macros.

This commit is contained in:
Damien Buhl (alias daminetreg)
2014-07-23 00:36:07 +02:00
parent 34fac0c449
commit 17e49ba448
4 changed files with 53 additions and 16 deletions

View File

@ -43,10 +43,11 @@
I, \
BOOST_PP_IF(IS_VIEW, BOOST_FUSION_PROXY_PREFIX, BOOST_PP_EMPTY), \
BOOST_PP_TUPLE_ELEM(2, 1, ATTRIBUTE), \
BOOST_PP_TUPLE_ELEM(2, 0, ATTRIBUTE))
BOOST_PP_TUPLE_ELEM(2, 0, ATTRIBUTE), \
BOOST_PP_IF( \
BOOST_PP_LESS(BOOST_PP_TUPLE_ELEM(2, 0, ATTRIBUTE),2), 1, 0))
#define BOOST_FUSION_ADAPT_AUTO BOOST_PP_EMPTY()
#if BOOST_PP_VARIADICS