
On Apr 18, 8:34 pm, alfC
Hi,
In Phoenix2 I used to have the following code to add expressions of type pow<N>(... expr...) which where useful for expressions involving Boost.Units. Is it possible to do something similar with Phoenix3. The usage if macros in the tutorial examples obscures how to add template parameters to the phoenix expression. In Phoenix2 it was straight forward, but I can figure out how to do this in Phoenix3.
ok, this is the farthest I could go with Phoenix3. It seems that the
tag:: struct argument in phoenix::expr is a template template.
The following is the latest attempt, which doesn't compile, giving the
error:
boost/phoenix/core/is_nullary.hpp:124:9: error: base type ‘const
boost::proto::exprns_::basic_expr