Boost logo

Boost Users :

Subject: [Boost-users] phoenix: BOOST_PHOENIX_NO_VARIADIC_EXPRESSION purpose
From: MM (finjulhich_at_[hidden])
Date: 2018-05-10 20:28:51


Hello (Thomas Heller, Joel de Guzman :-) )

In /usr/include/boost/phoenix/object/construct.hpp, there appears this
preprocessor test on this macro BOOST_PHOENIX_NO_VARIADIC_EXPRESSION
whereby the code either:

1. includes boost/phoenix/object/detail/cpp03/construct_expr.hpp , or
2. defines a expression inline

Is that macro used to workaround some compiler limitations (and/or c++
std version) back in the day?
I work with g++7 and std=c++14, and boost 1.64, and yet somehow
boost/phoenix/object/detail/cpp03/construct_expr.hpp is included, and
somewhere down the line a compilation error happens.

The cpp03 is unnerving.

Rds,

MM


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net