Re: Resorting a map (copying a map to another with different Compare)
Am 11.03.2010 15:12, schrieb nw:
> Hi,
>
> I'd like to be able to re-sort a map (a curious aspiration perhaps). I
> think basically what I'd like to do is copy one map into another that
> uses a different Compare function. I was wondering if there was an
> easy way of doing this in general. Or what strategy I could use to do
> it?
Maybe boost::multi_index? At least you could avoid the copying.
lg,
Michael
|