Using C++ in GCC is OK

Ian Lance Taylor iant@google.com
Tue Jun 1 17:34:00 GMT 2010


Richard Guenther <richard.guenther@gmail.com> writes:

> Overall the wiki document looks good.  I'd like to disallow
>
> * Operators may only be overloaded for types which implement numeric
> values, where the overloaded operators implement the usual numeric
> semantics.
>
> though.

My thinking here is that it would be reasonable to implement
real_arithmetic and mpfr/mpc using overloaded operators.  I could
certainly be wrong.


> I'd also like to avoid destructors where possible as we want
> as many core data types to be POD.

I adjusted the wiki accordingly.

Ian



More information about the Gcc mailing list