This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using C++ in GCC is OK


On Tue, Jun 1, 2010 at 7:05 PM, DJ Delorie <dj@redhat.com> wrote:
>
>> Right, but it may happen some day. ?Also there is the issue of
>> clarity. ?I think it is clearer to see this->get() rather than get().
>
> this->put_size (this->get_bounds (this->get_x(), this->get_y()),
> ? ? ? ? ? ? ? ?this->get_variance (this->default_variance ()))
>
> I'd like to avoid needing to assign "this->" to a hotkey in emacs.
>

I agree that the "this->" is overly rigid.

FWIW, we already have C++ style in the GCC distribution -- see libstdc++.
Not all of it has to be imported (for example, the uglification stuff
makes no sense.)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]