[Bug c++/51951] Template function dependent name resolution fails

2012-01-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51951 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/51951] Template function dependent name resolution fails

2012-01-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51951 --- Comment #4 from Jonathan Wakely 2012-01-22 23:39:05 UTC --- (In reply to comment #2) > Compilation of attached code fails despite it is accepted by previous GCC > versions. That's not a bug, GCC has been fixed to conform to the standard. Th

[Bug c++/51951] Template function dependent name resolution fails

2012-01-22 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51951 --- Comment #3 from Andrew Pinski 2012-01-22 20:55:33 UTC --- bool has no namespace associated with it as it is a foundational type. There is a DR against the C++ standard about this issue.

[Bug c++/51951] Template function dependent name resolution fails

2012-01-22 Thread basil at list dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51951 --- Comment #2 from Vasily Sukhanov 2012-01-22 20:39:41 UTC --- Compilation of attached code fails despite it is accepted by previous GCC versions. 1 template 2 class Option { 3 public: 4 bool m_bValid; 5 T m_t; 6 }; 7 8 te

[Bug c++/51951] Template function dependent name resolution fails

2012-01-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51951 Jonathan Wakely changed: What|Removed |Added Severity|major |normal --- Comment #1 from Jonathan Wak