[C++-sig] unnamed enum bug

Niall Douglas s_sourceforge at nedprod.com
Mon Apr 26 21:56:11 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 26 Apr 2004 at 9:03, Roman Yakovenko wrote:

> Why we could not export unnamed enums as constants ? 

How do you mean?

> This will also solve other small problem - repeating definition of
> "template<int num> struct UniqueInt" each time pyste meats unnamed
> enum. I already have patch for doing this.

pyste should be incrementing the number for each anonymous enum 
declared. OTOH it should also be a positive number, I've never seen a 
negative number myself.

Cheers,
Niall





-----BEGIN PGP SIGNATURE-----
Version: idw's PGP-Frontend 4.9.6.1 / 9-2003 + PGP 8.0.2

iQA/AwUBQI1pW8EcvDLFGKbPEQJERgCgnrI+amgS7RTnBeR628xYpRHrYckAoNV5
uWEfaSl4GTqFIaeiMh+coC0X
=0ePm
-----END PGP SIGNATURE-----




More information about the Cplusplus-sig mailing list