[Bug c++/48224] ERROR: compile in g++ version 4.5

evgenij.fokin at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 23 10:01:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48224

--- Comment #7 from Evgenij <evgenij.fokin at gmail dot com> 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 template component
> (17.4.3.6p2)

Yes, but instantiation made in cxx file where all types completed.

In any case workaround have been found. Thank you, Andrew.



More information about the Gcc-bugs mailing list