Boost logo

Boost :

Subject: Re: [boost] Interest request for pointer+bit compressionoptimization
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2009-09-09 07:47:18

Doug Gregor wrote:
> On Tue, Sep 8, 2009 at 12:57 PM, vicente.botet<vicente.botet_at_[hidden]> wrote:
>> template <typename PointerTy, unsigned IntBits, typename IntType=unsigned,
>> typename PtrTraits = PointerLikeTypeTraits<PointerTy> >
>> class PointerIntPair;
>> "
>> I like the way it manage to store several bits using a PointerLikeTypeTraits
>> Thanks to all to pointing to this simple class.
>> Are you interested on the inclusion of this class to boost?
> As I mentioned before, we've found it very useful in Clang to keep
> various data structures small. I imagine that Boost libraries and
> users would want to do the same, so it would make a good addition to
> Boost.

I would also be interested. I've already implemented my own version in a
library I'm developing (which I might one day submit to Boost), so I
would really like one in Boost.


Boost list run by bdawes at, gregod at, cpdaniel at, john at