This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using C++ in GCC is OK
On Fri, Jun 4, 2010 at 7:55 PM, Jeff Law <law@redhat.com> wrote:
> On 06/04/10 18:48, Mark Mitchell wrote:
>>
>> ? In C++, you can of course make what looks like
>> simple code do something expensive; for example, you can make "a + b" be
>> arbitrarily complex if "a" and "b" are instances of class types and you
>> have overloaded "+".
>>
>
> And, in general, we are trying to avoid situations where seemingly simple
> code does something expensive, right?
Yes. I trust reviewers to spot instances where people are being creative
with expensive operations.
-- Gaby