http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224
--- Comment #9 from Evgenij 2011-03-23
11:09:25 UTC ---
(In reply to comment #8)
> You're welcome to disagree, but you're wrong ;)
The man who never made a mistake, never made anything :)
Thank you for your quick response.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224
--- Comment #8 from Jonathan Wakely 2011-03-23
10:37:40 UTC ---
(In reply to comment #7)
> Jonathan, I disagree with you.
You're welcome to disagree, but you're wrong ;)
In your original example the compiler tells you where the template is
inst
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224
--- Comment #7 from Evgenij 2011-03-23
09:35:29 UTC ---
Jonathan, I disagree with you.
(In reply to comment #2)
> The C++ standard library says the effects are undefined if an incomplete type
> is used as a template argument when instantiating a
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224
--- Comment #6 from Jonathan Wakely 2011-03-22
13:03:34 UTC ---
yes
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224
--- Comment #5 from Evgenij 2011-03-22
11:54:06 UTC ---
Jonathan, what the document "The C++ standard library" do you mean?
INTERNATIONAL STANDARD ISO/IEC 14882?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224
Evgenij changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224
--- Comment #2 from Jonathan Wakely 2011-03-21
19:29:44 UTC ---
The C++ standard library says the effects are undefined if an incomplete type
is used as a template argument when instantiating a template component
(17.4.3.6p2)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|