Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2004-03-05 02:12:43

"serialization/collections_load_imp.hpp" defines a private template
class stack_allocate for stack-based reservation of uninitialized
memory. To the best of my knowledge, the way it does so
is not std-conformant due to alignment issues.
Fortunately, (undocumented) "boost/aligned_storage.hpp" provides
a template class named aligned_storage which handles the issue,
so I guess the problem can be solved by just using this
facility instead of stack_allocate.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

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