This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49399] [C++0x] substitution failure error


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

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-14 12:40:52 UTC ---
Note that returning 4 was *never* correct for that program.  In C++03 it
shouldn't compile and in C++0x it should return 1.  There's a bug in the
Boost.MPL docs which should say the macro works for *public* nested type member
x::name and cannot be used if the name is not accessible (and if you report
that you might as well also report the docs keep saying "memeber")

There are already several bug reports for G++ not doing access checking
correctly in templates, no need to report another one.  You could consider it a
bug that the resolution of DR1170 isn't implemented yet, but it's a known
missing feature that simply hasn't been implemented yet.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]