Boost logo

Boost :

From: pongba (weapon.liu_at_[hidden])
Date: 2006-04-18 13:14:22


template<std::size_t TAlign, std::size_t Align>
struct is_aligned
{
   BOOST_STATIC_CONSTANT(bool,
       value = (TAlign >= Align) & (TAlign % Align == 0)
                                ^^^ <<---- here!
       );
};

Should it be "&&" instead of "&"?


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