Boost logo

Boost Users :

From: bert hubert (bert.hubert_at_[hidden])
Date: 2006-04-28 05:40:54


On Fri, Apr 28, 2006 at 10:22:49AM +0200, Joaqu?n M? L?pez Mu?oz wrote:

> pair<negcache_t::iterator, bool> res=replacing_insert(s_negcache,ne);

Works, thank you (again) Joaquin! See
http://wiki.powerdns.com/projects/trac/changeset/785

> Note that replacing_insert() still cannot guarantee in the general case that
> insertion will always be succesful (hence its returning a pair<iterator,bool>):

Indeed - but in this case I know there is only one unique index, so I don't
check.

Thanks!

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net