[Bug c++/33939] Rvalue references not deduced correctly in vararg function templates

2007-11-05 Thread dgregor at gcc dot gnu dot org
--- Comment #3 from dgregor at gcc dot gnu dot org 2007-11-05 12:59 --- This little nightmare is fixed... it worked in ConceptGCC, at least :) -- dgregor at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/33939] Rvalue references not deduced correctly in vararg function templates

2007-11-05 Thread dgregor at gcc dot gnu dot org
--- Comment #2 from dgregor at gcc dot gnu dot org 2007-11-05 12:50 --- Subject: Bug 33939 Author: dgregor Date: Mon Nov 5 12:50:21 2007 New Revision: 129900 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129900 Log: 2007-11-05 Douglas Gregor <[EMAIL PROTECTED]> PR c

[Bug c++/33939] Rvalue references not deduced correctly in vararg function templates

2007-11-04 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-11-04 20:41 --- Gosh, this bug is horrible, the -basic- forwarding situation doesn't work with variadic templates: void foo(int&&); void foo(const int&) { } template struct identity { typedef _Tp type; }; template inline _Tp