
4 Apr
2002
4 Apr
'02
4:39 p.m.
I want to have some way to automatically put the right number of close parentheses on a list (using boost/preprocessor.hpp). For instance, given this list: #define _THE_LIST \ BOOST_PP_LIST_CONS(red, \ BOOST_PP_LIST_CONS(orange, \ BOOST_PP_LIST_CONS(yellow, \ BOOST_PP_LIST_CONS(green, \ BOOST_PP_LIST_CONS(blue, \ BOOST_PP_LIST_CONS(violet, \ BOOST_PP_LIST_CONS(gray, \ BOOST_PP_LIST_CONS(white, \ BOOST_PP_LIST_NIL )))))))) is there a way to automatically generate the eight close parentheses?
8360
Age (days ago)
8360
Last active (days ago)
0 comments
1 participants
participants (1)
-
jkharris01