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?


Boost list run by bdawes at, gregod at, cpdaniel at, john at