EDITORIAL: Rename the macro for type deduction to a more expressive and correct name.

This commit is contained in:
Damien Buhl (alias daminetreg) committed 2014-06-13 23:04:08 +02:00
1 parent 2d37b9c22c
commit a5f87696f2
2 files changed
+5 -3

No files matched your search

@@ -16,13 +16,13 @@
#include <boost/fusion/adapted/struct/adapt_struct.hpp>
#define BOOST_FUSION_AUTO_ADAPT_STRUCT_FILLER(r, NAME, ATTRIBUTE) \
#define BOOST_FUSION_AUTO_ADAPT_STRUCT_TYPE_DEDUCER(r, NAME, ATTRIBUTE) \
(BOOST_TYPEOF(NAME::ATTRIBUTE), ATTRIBUTE)
#define BOOST_FUSION_AUTO_ADAPT_STRUCT(NAME, ATTRIBUTES) \
BOOST_FUSION_ADAPT_STRUCT(NAME, \
BOOST_PP_SEQ_FOR_EACH( \
BOOST_FUSION_AUTO_ADAPT_STRUCT_FILLER, NAME, ATTRIBUTES) \
BOOST_FUSION_AUTO_ADAPT_STRUCT_TYPE_DEDUCER, NAME, ATTRIBUTES) \
)
#endif