This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49399] [C++0x] substitution failure error
- From: "jarrydb at cse dot unsw.edu.au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Jun 2011 11:53:02 +0000
- Subject: [Bug c++/49399] [C++0x] substitution failure error
- Auto-submitted: auto-generated
- References: <bug-49399-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49399
--- Comment #2 from Jarryd Beck <jarrydb at cse dot unsw.edu.au> 2011-06-14 11:52:58 UTC ---
By works fine I mean that the code compiles, and when it runs, the program
returns the number 4.
Maybe I'm misunderstanding how this is all supposed to work and something has
changed in the spec meaning that this is now broken. However that would mean
boost is broken too (quite possible).
It comes from BOOST_MPL_HAS_XXX_TRAIT_DEF. They use it to work out if a class
has a particular member defined. It has been working fine up until recently
when it broke with C++0x.