Boost logo

Boost :

Subject: [boost] [phoenix] not playing nice with other libs
From: Eric Niebler (eric.niebler_at_[hidden])
Date: 2011-05-02 06:54:55

The following trivial program fails to compile:

  #include <boost/phoenix/core/limits.hpp>
  #include <boost/numeric/conversion/converter.hpp>

It generates the following:

In file included from
                 from main.cpp:2:
../../../../branches/release/boost/mpl/multiplies.hpp:38: error: wrong
number of template arguments (12, should be 5)
error: provided for ‘temp
late<class N1, class N2, class N3, class N4, class N5> struct

Phoenix is changing the following fundamental constants:


IMO, Phoenix shouldn't be touching these. It should work as best it can
with the default values. Users who are so inclined can change them.

Eric Niebler
BoostPro Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at