[Bug c++/43127] Inconsistent and odd constructor calls.

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Feb 20 14:01:00 GMT 2010



------- Comment #1 from rguenth at gcc dot gnu dot org  2010-02-20 14:00 -------
You can even use

                virtual ptr clone () const
                {
                        return new object(*this);
                }


-- 


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



More information about the Gcc-bugs mailing list