BUGFIX: Presents the correct field name as a string even if type is deduced.

This commit is contained in:
Damien Buhl (alias daminetreg)
2014-05-09 14:06:15 +02:00
parent 703bff4ff9
commit 04cbf0d4c6

View File

@ -177,7 +177,9 @@
call() \
{ \
return BOOST_PP_STRINGIZE( \
BOOST_PP_TUPLE_ELEM(ATTRIBUTE_TUPEL_SIZE,1,ATTRIBUTE)); \
BOOST_PP_TUPLE_ELEM(ATTRIBUTE_TUPEL_SIZE, \
BOOST_PP_IF(BOOST_PP_LESS(ATTRIBUTE_TUPEL_SIZE,2), 0, 1),\
ATTRIBUTE)); \
} \
};