Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 2000-08-15 13:18:05


Beman Dawes wrote on 8/15/2000 2:14 PM
># 500: static const unsigned value = sizeof(padded) - sizeof(T);
># Error: ^
># illegal use of incomplete struct/union/class
>'boost::alignment_of::padded'
>
>This looks like a compiler error; padded isn't incomplete as far as I can
>tell.

Yes, I believe someone posted a workaround for this bug (probably moved
the nested class to namespace scope).

-Howard


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