Boost logo

Boost :

Subject: Re: [boost] [mpl] [bimap] BOOST_MPL_LIMIT_METAFUNCTION_ARITY issue on g++ 4.6.3 and boost 1.50
From: Matias Capeletto (matias.capeletto_at_[hidden])
Date: 2012-12-05 06:09:12

Hi Adam,

If you check the include chain you will notice that Bimap is including
boost/mpl/lambda.hpp through the lib dependencies.

Your example can be reduced to this:


  #include <boost/mpl/lambda.hpp>

  int main() {
      return 0;

That fails for me with GCC 4.7.2 and Boost 1.52.

It seems that you are hitting the compiler limits. It works if you use
8 as the limit. You can open a ticket in Trac for MPL devs to look
into the issue.

Best regards

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