Boost logo

Boost :

From: Joao Abecasis (jpabecasis_at_[hidden])
Date: 2004-09-09 07:54:23


Joao Abecasis wrote:

> Hi!
>
> I have written a small utility class to provide "empty member
> optimization" for arbitrary types. The implementation makes use of the
> empty base class optimization (EBCO) but avoids injection of the
> class. A uniform and contained interface is exposed wether the
> optimization applies or not:
>
> template <typename T, size_t Index>
> compressed_pair

Ooops... I meant compressed_member, above.

Regards,

João Abecasis


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