Boost logo

Boost :

Subject: Re: [boost] Review request for Boost.Align
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2014-02-21 11:43:49


> I think that 'alignment' should be checked:
> BOOST_ASSERT( alignment & (alignment - 1 ) == 0 );

I'm positive you meant
    BOOST_ASSERT((alignment & (alignment - 1)) == 0);
instead :-)

Updated the documentation and examples accordingly.

Glen


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