Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2003-03-14 11:39:00


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'?

Genny.


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