Re: [libxml++] windows compile error with latest release



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

Le Mercredi 4 Juin 2003 09:33, Murray Cumming Comneon com a écrit :
> I always thought that static members should be initialized in the .cpp file.

Not if it's a const. For the compiler it's almost equivalent to a define.

> Anyway, I think an enum would be acceptable instead.

I wanted the constant to be a bool. Now I'm not sure if it's better to use a 
static const or an enum.

Cheers,

Christophe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+3ax/B+sU3TyOQjARAg52AJ48uuFC7bNSnDCyjME94AtsuZnKXACfXEYZ
7nsVnIwJ3okuy/+6g30z1ik=
=5wQS
-----END PGP SIGNATURE-----





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]