------- Comment #3 from pinskia at gcc dot gnu dot org  2006-12-08 07:34 -------
(In reply to comment #2)
> As compose is not POD it initializes p in the constructor.  For inherit the
> constructor of p is called which - surprise - as a POD constructor does
> nothing.

Actually read the standard, it does, see 8.5/7 and 8.5/5 the second part about
default initializer.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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

Reply via email to