|
Boost : |
Subject: Re: [boost] Does Boost has an utility to replace all OLD Keys with NEWone for MultiMap/Map?
From: Paul Rose (prose_at_[hidden])
Date: 2009-05-07 08:59:35
In the pathological case of newKey == oldKey is there a potential for
infinite loop?
Either protect against this with a simple compare/return or clearly warn
against it in the doc.
Paul Rose
> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Tushar Chowdhury
> Sent: Thursday, May 07, 2009 4:10 AM
> To: boost_at_[hidden]
> Subject: [boost] Does Boost has an utility to replace all OLD
> Keys with NEWone for MultiMap/Map?
>
> Hi Guys,
> As of now I failed to get such an algo. I've come up with an
> proposed solution. Please verify:
>
Confidentiality Notice: This email, including attachments, may include non-public, proprietary, confidential or legally privileged information. If you are not an intended recipient or an authorized agent of an intended recipient, you are hereby notified that any dissemination, distribution or copying of the information contained in or transmitted with this e-mail is unauthorized and strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and permanently delete this e-mail, its attachments, and any copies of it immediately â you should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk