g++ and aliasing bools

Mark Mitchell mark@codesourcery.com
Thu Jan 24 14:15:00 GMT 2002


> Can the  AGGREGATE_TYPE_P check be relaxed for classes that don't have
> a base class?

Maybe, but it needs careful thought.  "It makes sense" isn't good enough;
we need a proof that this is safe.  Such a proof needs to take into
account that other classes may be derived (possibly indirectly or
virtually) from the simple class.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc mailing list