Boost logo

Boost :

Subject: Re: [boost] [unordered] [MultiIndex] iterator_to
From: Daniel James (daniel_james_at_[hidden])
Date: 2008-11-27 09:59:32


2008/11/27 <joaquin_at_[hidden]>:
>
> Not everywhere, I'm afraid:
>
> http://lists.boost.org/boost-users/2007/06/28382.php
>
> There are definitely some seriously non-standard tricks there that should
> IMHO
> discourage us from using parent_from_member unrestrictedly, useful as this
> utility
> may be.

I've already started on an implementation which uses a similar
technique to MultiIndex so I don't think I'll need to use
parent_from_member. My iterator_to will be a bit slower than
MultiIndex's as I have to use the hash function to find the correct
bucket. This won't be the case for local_iterator_to.

Daniel


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