id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 13170,BOOST_AUTO_TEST_CASE_TEMPLATE don't want typedef for list,Oleksandr Guteniev ,Raffi Enficiaud,"It is possible to test several types using BOOST_AUTO_TEST_CASE_TEMPLATE {{{ typedef boost::mpl::list test_types; BOOST_AUTO_TEST_CASE_TEMPLATE( my_test, T, test_types ) { BOOST_TEST( sizeof(T) == (unsigned)4 ); } }}} But if I don't want to introduce a typedef not used elsewhere, as every individual test would have separate type list: {{{ BOOST_AUTO_TEST_CASE_TEMPLATE( my_test, T, boost::mpl::list< int, long, unsigned char > ) { BOOST_TEST( sizeof(T) == (unsigned)4 ); } }}} The code above doesn't compile though due to comma in macro. It can be worked around, but workarounds seems to be worse than having extra typedef. I propose using variadic macro for types parameter and make the example above compiling. ",Feature Requests,closed,Boost 1.67.0,test,Boost 1.61.0,Cosmetic,fixed,,