[Botan-devel] Using tr1/memory

Nathaniel Smith njs at pobox.com
Wed Oct 1 16:51:16 EDT 2008


On Wed, Oct 1, 2008 at 9:58 AM, Jack Lloyd <lloyd at randombit.net> wrote:
> My primary reservation is simply in terms of adding another build
> dependency. TR1 is pretty conservative thing to rely on, but I do
> worry a bit that any additional dependencies will reduce the odds of
> Botan being adopted into projects.

If it's just a few bits like shared_ptr, and they're used internally
rather than exposed as part of the API/ABI, I suppose another option
would be to drop in the header file as botan::shared_ptr, and then
switch over to tr1:: after support becomes widespread.

-- Nathaniel



More information about the botan-devel mailing list