Add support for BOOST_FUSION_ADAPT_ADT to either deduce types or use specified ones.

This commit is contained in:
Damien Buhl (alias daminetreg)
2014-08-10 17:09:57 +02:00
parent 52d280983b
commit 7b089aa589
6 changed files with 53 additions and 20 deletions

View File

@ -14,6 +14,7 @@
#include <boost/fusion/support/config.hpp>
#include <boost/config.hpp>
#include <boost/fusion/support/tag_of_fwd.hpp>
#include <boost/fusion/adapted/struct/detail/adapt_auto.hpp>
#include <boost/preprocessor/empty.hpp>
#include <boost/preprocessor/stringize.hpp>
@ -35,7 +36,6 @@
#include <boost/typeof/typeof.hpp>
#define BOOST_FUSION_ADAPT_AUTO BOOST_PP_EMPTY()
#define BOOST_FUSION_ADAPT_STRUCT_UNPACK_NAME_TEMPLATE_PARAMS(SEQ) \
BOOST_PP_SEQ_HEAD(SEQ)<BOOST_PP_SEQ_ENUM(BOOST_PP_SEQ_TAIL(SEQ))> \