25 Mar
2017
25 Mar
'17
5:58 p.m.
#define BOOST_PP_CONFIG_FLAGS() 1 #include <boost/preprocessor/config/config.hpp>
#define BOOST_PP_VARIADICS_MSVC 0
#include <boost/mpl/list.hpp> #include <boost/mpl/push_front.hpp>
int main() { namespace mpl = boost::mpl;
using L = mpl::list<>; using L2 = mpl::push_front<L, void>; }
works.
It works without #define BOOST_PP_CONFIG_FLAGS() 1 as well. #include <boost/preprocessor/config/config.hpp> #define BOOST_PP_VARIADICS_MSVC 0 is all that's required.