[Bug c++/43608] Boost.MPL code doesn't get the placeholders substituted anymore

redi at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Apr 1 11:10:00 GMT 2010



------- Comment #3 from redi at gcc dot gnu dot org  2010-04-01 11:10 -------
Created an attachment (id=20272)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20272&action=view)
reduced testcase with fix added but commented out

Comeau's online compiler agrees with GCC 4.5

As the reporter says, the testcase can be fixed by adding an explicit
specialisation of metafunction< arg<2> > ... I don't know why this works.

The second attachment has the specialisation, commented out.


-- 

redi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20271|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43608



More information about the Gcc-bugs mailing list