[Bug c++/46839] Parser confuses derived member with std::forward

2010-12-07 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46839 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/46839] Parser confuses derived member with std::forward

2010-12-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46839 --- Comment #2 from Paolo Carlini 2010-12-07 17:19:42 UTC --- Note that Intel compiler, based on the EDG C++ front-end, also rejects this code in strict mode. Likewise of course Comeau. This is enough to show the issue: template void forward(T

[Bug c++/46839] Parser confuses derived member with std::forward

2010-12-07 Thread foehst at informatik dot uni-kl.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46839 --- Comment #1 from Tobias Föhst 2010-12-07 17:12:45 UTC --- I forgot: Line 15 is only there to prove that this->forward with another successor than '<' can be resolved as the member derived from A.