Boost logo

Boost Users :

From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2006-04-27 12:59:27


Kobi Cohen-Arazi wrote:

> There is no way to use directly the std::string::replace since get()
> is const member function.

Um, no, I don't think get's const-ness has anything to do with it. I
still think it's an ambiguity problem.

> We do need a replace wrapper, which unfortunately creating std::string
> instances.

Have you tried the member function pointer approach I showed?

Sebastian


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