|
Boost : |
Subject: Re: [boost] Interest request for pointer+bit compressionoptimization
From: Doug Gregor (doug.gregor_at_[hidden])
Date: 2009-09-08 20:08:44
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.
- Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk