http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51989
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51989
--- Comment #11 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org
2012-03-02 16:18:34 UTC ---
Author: paolo
Date: Fri Mar 2 16:18:25 2012
New Revision: 184796
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184796
Log:
/cp
2012-03-02
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51989
--- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2012-01-25
09:48:32 UTC ---
not a gcc bug, you're code is invalid - values of default arguments are not
part of the function type and do not take part in deduction
you can do it in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51989
Jonathan Wakely redi at gcc dot gnu.org changed:
What|Removed |Added
CC||jason at gcc dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51989
--- Comment #6 from Leonid Volnitsky leonid at volnitsky dot com 2012-01-25
10:29:29 UTC ---
Also, new is_containerT with decltype, have value == 0 for any, non-void
type.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51989
--- Comment #7 from Jonathan Wakely redi at gcc dot gnu.org 2012-01-25
11:56:50 UTC ---
My code was only meant to show a possible problem with invalid expressions
using void* not to solve your issue. GCC's bugzilla isn't a tutorial site and
my
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51989
--- Comment #8 from Leonid Volnitsky leonid at volnitsky dot com 2012-01-25
12:29:22 UTC ---
I understand that. And thank you for giving me a hint and code for
is_container, it was more than I expected if it was non-bug. I've made the
comment
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51989
--- Comment #9 from Jason Merrill jason at gcc dot gnu.org 2012-01-25
17:32:12 UTC ---
(In reply to comment #5)
Jason, shouldn't deduction fail for ((U*)0)-foo() with U=void instead of
giving an error?
Yep. Need to pass complain into
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51989
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51989
--- Comment #1 from Leonid Volnitsky leonid at volnitsky dot com 2012-01-25
05:03:14 UTC ---
Created attachment 26451
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26451
deque-bug.ii
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51989
--- Comment #2 from Leonid Volnitsky leonid at volnitsky dot com 2012-01-25
05:04:00 UTC ---
Created attachment 26452
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26452
deque-bug.s
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51989
--- Comment #3 from Leonid Volnitsky leonid at volnitsky dot com 2012-01-25
05:04:56 UTC ---
Created attachment 26453
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26453
gcc error
12 matches
Mail list logo