Boost logo

Boost :

Subject: [boost] [any] allocator support?
From: Kenny Riddile (kfriddile_at_[hidden])
Date: 2010-04-23 09:43:10


This may have been brought up before, but I have a case where I need to
use boost::any with types that require custom allocation. As far as I
can tell, this isn't currently possible. Is there a reason boost::any
doesn't allow specifying an allocator? std::allocator would obviously
be the default. Has anyone maybe done this themselves already and be
willing to share?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk