Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2003-03-15 06:11:50


> Lately I never stop finding odd things into boost sources. Here's one
> from type_traits/detail/yes_no_type.hpp:
>
>
> typedef char yes_type;
> struct no_type
> {
> char padding[8]; // <--
> };
>
>
> Why '8'?

Why not ? as long as it's not 1 :-)

John.


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