This is the mail archive of the gcc-patches@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: [PATCH] C++0x, teach the parser to parse virt-specifier-seq for member functions


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.


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