
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/03/2010 01:19 PM, DE wrote:
[...] However, as I mentioned yesterday, I've found a need to separate the memory management functions from the base class anyway. I plan to move them into an intermediary class, something that inherits from base_integer, and that all the derived classes inherit from.
how about making derived classes to call base class' protected methods to initialize the storage?
That's what it's doing now, but it doesn't allow for user-defined allocators that way. I'm hoping that the intermediary class will permit allocators while still allowing me to have a concrete base class, so I don't need to make all of the actual operation functions into templates too. - -- 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/ iEYEARECAAYFAkvfC9oACgkQp9x9jeZ9/wRLwACgysZSnm1e/4nJWWgvCppaeqr6 wI4AoMdJf06c9PlRuqWKcsN/JzU/JBhZ =ck/h -----END PGP SIGNATURE-----