This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Switching to C++ by default in 4.8
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: Bernd Schmidt <bernds at codesourcery dot com>, gcc at gcc dot gnu dot org, Miles Bader <miles at gnu dot org>, Torvald Riegel <triegel at redhat dot com>, Jakub Jelinek <jakub at redhat dot com>, Xinliang David Li <davidxl at google dot com>, Richard Guenther <richard dot guenther at gmail dot com>, David Edelsohn <dje dot gcc at gmail dot com>, Diego Novillo <dnovillo at google dot com>
- Date: Wed, 11 Apr 2012 09:42:59 +0200
- Subject: Re: Switching to C++ by default in 4.8
- References: <4F7B356E.9080003@google.com> <201204110127.30744.ebotcazou@adacore.com> <CAAiZkiDEJc1x=VtA12O2zK_LKE=_B9zzRc3L+MO1kPF+qHaw4A@mail.gmail.com>
> 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.
--
Eric Botcazou