diff options
Diffstat (limited to 'boost/hana/detail/preprocessor.hpp')
-rw-r--r-- | boost/hana/detail/preprocessor.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/boost/hana/detail/preprocessor.hpp b/boost/hana/detail/preprocessor.hpp index 6a141187e7..4487ad8daf 100644 --- a/boost/hana/detail/preprocessor.hpp +++ b/boost/hana/detail/preprocessor.hpp @@ -22,7 +22,12 @@ Distributed under the Boost Software License, Version 1.0. //! @ingroup group-details //! Expands to its first argument. +#ifdef BOOST_HANA_WORKAROUND_MSVC_PREPROCESSOR_616033 +#define BOOST_HANA_PP_FRONT(...) BOOST_HANA_PP_FRONT_IMPL_I(__VA_ARGS__) +#define BOOST_HANA_PP_FRONT_IMPL_I(...) BOOST_HANA_PP_CONCAT(BOOST_HANA_PP_FRONT_IMPL(__VA_ARGS__, ),) +#else #define BOOST_HANA_PP_FRONT(...) BOOST_HANA_PP_FRONT_IMPL(__VA_ARGS__, ) +#endif #define BOOST_HANA_PP_FRONT_IMPL(e0, ...) e0 //! @ingroup group-details |