Boost logo

Boost Users :

Subject: [Boost-users] POD boost aligned storage?
From: Joseph Garvin (joseph.h.garvin_at_[hidden])
Date: 2009-07-13 14:17:56


I was trying to figure out if boost::aligned_storage was POD so I
looked at the header. It looks like the internal implementation type
is a POD, but the actual aligned_storage itself is not. However, that
implementation type is exposed through a public typedef. Is it safe
for me to use the typedef if I really do need a POD type and don't
mind losing the safety of being noncopyable? Is opting out of that
tradeoff what the typedef is there for?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net