This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51213] [C++11][DR 1170] Access control checking has to be done under SFINAE conditions
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Apr 2012 09:26:39 +0000
- Subject: [Bug c++/51213] [C++11][DR 1170] Access control checking has to be done under SFINAE conditions
- Auto-submitted: auto-generated
- References: <bug-51213-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51213
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-04-27 09:26:39 UTC ---
Yes, in a few areas the 4.7.x library is much closer to the letter of C++11 in
terms of constraining, and of course we never did access control under sfinae.
Note that the latter, being a new feature, is very likely to happen only in
4.8, but not in 4.7.x, I don't think however we may want to take out
constraining from the 4.7.x library (indeed, people are normally encouraged to
use deleted members, not access control, together with "classic" sfinae)