--- Additional Comments From sven at clio dot in-berlin dot de 2005-05-17
11:42 ---
(In reply to comment #9)
> Over my dead body. :-)
Oh, come on. It isn't that bad an idea to localize substitution failures,
isn't it:-)
> -- Gaby
Sven
--
http://gcc.
--- Additional Comments From sven at clio dot in-berlin dot de 2005-05-16
10:22 ---
(In reply to comment #7)
> > Is there a way to distinguish between unions (which are not usable as base
> > classes) and classes? If not, the standard is incomplete.
>
> You s
--- Additional Comments From sven at clio dot in-berlin dot de 2005-05-15
18:20 ---
(In reply to comment #8)
> Let me say this, the standard is needed otherwise, there is no language
> defined as C, just like there phython is not really defined.
Did You know that You c
--- Additional Comments From sven at clio dot in-berlin dot de 2005-05-15
17:58 ---
This is the last try. First I wonder who has invented the strange syntax for
defining template member classes outside. C++ is still an imperative
programming language, not a functional. A
--- Additional Comments From sven at clio dot in-berlin dot de 2005-05-15
17:46 ---
(In reply to comment #6)
> > ...
Why?
> > Because the standard says so, there is no other reason (in other words,
th
--- Additional Comments From sven at clio dot in-berlin dot de 2005-05-15
14:46 ---
(In reply to comment #5)
> Extensions are bad. Even just bugs in the compiler is a bad thing beause
> people would think the bug
> was an extension and start depending on it and then whe
--- Additional Comments From sven at clio dot in-berlin dot de 2005-05-15
14:43 ---
And for everyone who have the same problem, here is a workaround. Declare a
template class with a dummy argument (int in this case), partial specialize
this class and derive from the partial
--- Additional Comments From sven at clio dot in-berlin dot de 2005-05-15
14:08 ---
(In reply to comment #3)
> The code is invalid. In the section 14.8.2 [temp.deduct] paragraph 2 of the
> standard
> does not include creating a class with invalid base class.
If there is
--- Additional Comments From sven at clio dot in-berlin dot de 2005-05-15
14:03 ---
(In reply to comment #3)
> From 14.7.2 [temp.expl.spec] paragraph 2:
> An explicit specialization shall be declared in the namespace of which the
> template is a member,
> or
--- Additional Comments From sven at clio dot in-berlin dot de 2005-05-14
08:37 ---
After reflection I changed the subject. While template declaration and partial
specialization is possible inside a class, the full specialzation is not.
--
What|Removed
plates and sub types are not inherited in g++
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sven at clio dot in-berlin
--- Additional Comments From sven at clio dot in-berlin dot de 2005-05-12
09:48 ---
(In reply to comment #1)
> I don't think you used SFINF correctly.
The substitution of the formal parameter with the actual argument fails, thus
it is a form of substitution failure. I do
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sven at clio dot in-berlin dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i486-linux
GCC host triplet: i486-linux
GCC target triplet: i486-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21510
13 matches
Mail list logo