This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] C++0x, teach the parser to parse virt-specifier-seq for member functions
- From: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: gcc-patches at gcc dot gnu dot org, jason at redhat dot com
- Date: Mon, 25 Apr 2011 18:34:52 +0300
- Subject: Re: [PATCH] C++0x, teach the parser to parse virt-specifier-seq for member functions
- References: <87ei4qbnkk.wl%ville@ville-laptop> <BANLkTi=f+-mKmgGPQg0rmqvqhM-zzDQUQw@mail.gmail.com>
On 25 April 2011 18:32, Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:
>> ?typedef int cp_cv_quals;
>> +/* A type-qualifier, or bitmask therefore, using the VIRT_SPEC
>> + ? constants. ?*/
>> +typedef int cp_virt_specifiers;
> could we use enums instead?
No reason not to, except that we don't for the cp_cv_quals above. :) I followed
the same approach.