SecBlock<T, A> (source code at 
http://www.cryptopp.com/docs/ref/secblock_8h_source.html) performs a swap 
on the Allocator A (see line 405).

I want to make sure I'm not missing something obious.... It seems to me the 
classes that are parametrized on T and A use the same allocator. If they 
use a different allocator, the the compiler will generate an additional 
instantiation (and all those can forgo the allocator swap).

Does a SecBlock need to swap the allocator?

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to