https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
Jason Merrill changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
--- Comment #15 from Jason Merrill ---
Looking at the standard again, I notice
When the name of a member template specialization appears after . or -> in a
postfix-expression or after a nested-name-specifier in a qualified-id, and the
object exp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
Paolo Carlini changed:
What|Removed |Added
CC||talljimbo at gmail dot com
---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
Daniel Frey changed:
What|Removed |Added
CC||d.frey at gmx dot de
--- Comment
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
David Krauss changed:
What|Removed |Added
CC||potswa at mac dot com
--- Commen
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
--- Comment #11 from Tudor Bosman 2012-12-13 18:03:35
UTC ---
As I indicated in PR 55668, this has been broken since at least 4.1.2.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
Tudor Bosman changed:
What|Removed |Added
CC||tudorb at fb dot com
--- Comment
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
Jason Merrill changed:
What|Removed |Added
Status|RESOLVED|NEW
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
Jonathan Wakely changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
--- Comment #7 from Antony Polukhin 2012-12-06
14:39:39 UTC ---
(In reply to comment #6)
> "The injected-class-name of a class template or class template specialization
> can be used either as a template-name or a type-name wherever it is
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
--- Comment #6 from Jonathan Wakely 2012-12-04
11:04:45 UTC ---
I've been trying to find the relevant text in the standard but I'm not entirely
sure where this is covered. Possibly [temp.local] paras 3-5, including
"The injected-class-na
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
--- Comment #5 from Marc Glisse 2012-12-04 10:47:38
UTC ---
For the example of comment #3, clang compiles it happily, and comeau gives this
message:
"ComeauTest.c", line 12: error: type name is not allowed
return f.template apply(ad
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
Antony Polukhin changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576
--- Comment #1 from Jonathan Wakely 2012-12-03
16:00:35 UTC ---
I don't think this is a G++ bug, there are three problems with this code:
1) You need to #include to use placement new
2) factory::apply is non-const but the parameter 'f'
16 matches
Mail list logo