Fixes for empty conversions and tests for empty conversions.

This commit is contained in:
Edward Diener
2014-05-04 03:07:00 -04:00
parent 9dfce3363c
commit fb732aaab5
7 changed files with 96 additions and 14 deletions

View File

@ -48,6 +48,9 @@
# endif
# endif
#
/* An empty array can be passed */
# define BOOST_PP_TUPLE_TO_SEQ_0() ()
#
# define BOOST_PP_TUPLE_TO_SEQ_1(e0) (e0)
# define BOOST_PP_TUPLE_TO_SEQ_2(e0, e1) (e0)(e1)
# define BOOST_PP_TUPLE_TO_SEQ_3(e0, e1, e2) (e0)(e1)(e2)