
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/01/2010 02:44 PM, vicente.botet wrote:
What about implementing both strategies, either as separated classes, or adding a template parameter?
It could be done with separated classes, but I don't see any way to do it with a template parameter; the array would have to be included in the class itself if it was ever going to be used, and I don't know of any way to eliminate it via a template parameter.
With an addition template parameter you can for example specialize [...]
Ah, I see... I hadn't considered that possibility. Thanks for the information. - -- Chad Nelson Oak Circle Software, Inc. * * * -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvcn/0ACgkQp9x9jeZ9/wRM5QCgg6gmjJoVOta6eA0RfYKA5gES pYQAoNDi/KFk9TdtvCS9AKtowu27kHbv =2j1+ -----END PGP SIGNATURE-----