Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2001-10-28 21:37:25


On Sunday 28 October 2001 07:05, you wrote:
> Though I tend to agree that if the only use for the proposed language
> extentions was to align stack memory, then the need is probably not
> great enough to justify a language extension and a standardised
> std::alignment_traits<>::align_t and std::alignment_traits<>::value
> would be enough support.

I think that the path of least resistance would be to supply
std::alignment_traits with the value and align_t members, and require compile
support. This is similar to some of the other type traits
(has_trivial_constructor, is_empty, etc.) that require compiler support.

        Doug


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