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: Switching to C++ by default in 4.8


On Wed, Apr 11, 2012 at 2:42 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> when you say that, do you mean you would prefer and expect:
>> ? 1. native C++ style, or
>> ? 2. you would like the C-style round-about and paraphrasing to remain
>> unperturbed
>> ?
>>
>> The reason I ask is that I expect a "proper" C++ implementation would come
>> with a C++-native style of usage.
>
> I don't think that implementing vec.[ch] in C++ would necessarily entail that
> big a change of style; adding 1 -> per line is OK, adding 3 is something else.

Expressing an idea in C takes me more lines (roughly 2-3 fold) than
in C++, so I am a bit puzzled by your observation.

-- Gaby


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