Boost logo

Boost :

From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2006-12-28 22:36:15


The boost inteprocess documentation [1] says that all objects must be
constructed-destroyed via allocator::construct and allocator::destroy
functions when using the interprocess allocators.

However, according to the draft of the next C++ Standard [2] 20.1.6/2,
allocator::construct is strictly equivalent to placement new and
allocator::destroy stricly equivalent to a call to the destructor, with
the pointer type casted to void*.

Therefore why is such a requirement necessary?

[1]
http://ice.prohosting.com/newfunk/boost/libs/interprocess/doc/html/interprocess/containers_explained.html
[2] http://open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1905.pdf


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