On 04/25/2011 11:34 AM, Ville Voutilainen wrote:
On 25 April 2011 18:32, Gabriel Dos Reis<g...@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.
Sure, let's use enums for the named values. But I think we still want
to use the int typedef for variables and parameters.
Jason