From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2003-05-06 20:23:50
Douglas Gregor wrote:
> On Tuesday 06 May 2003 06:51 pm, Christopher Currie wrote:
> > The following is a proposed patch to boost/type_traits/alignment_of.hpp.
> > This file has been causing an assertion in the Sun compiler, for
> > which this patch is a workaround.
> > With this patch applied the alignment_of test case now compiles
> > under the Sun compiler, and runs without errors.
> > Let me know if anyone has any questions.
> > Christopher
> Looks good. I've applied it.
Actually, I think the correct patch would be
> #if !defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION)
> template <typename T> const std::size_t alignment_of_impl<T>::value;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk