|
Boost Users : |
Subject: Re: [Boost-users] POD boost aligned storage?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-07-13 14:46:48
AMDG
Joseph Garvin wrote:
> 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?
The typedef is documented, so yes it's safe to use it.
> Is opting out of that
> tradeoff what the typedef is there for?
>
In Christ,
Steven Watanabe
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