Hi: What is the best way of checking this. Chers Sean. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Thorsten Ottosen Sent: 11 May 2009 18:47 To: boost-users@lists.boost.org Subject: Re: [Boost-users] [boost.stringalgo] issue Sean Farrow skrev:
Hi list: I am in the process of using boost::algorithm::replace_all with the following tuple: Boost::tuple
If I use the code below: std::wstring temp1, temp2, temp3; temp1 =ProcInfo.get<1>().string(); temp2 =ProcInfo.get<1>().filename(); temp3 =L"dolapi.dll"; boost::algorithm::replace_all(temp1, temp2, temp3); The code compiles fine, How ever if I use: boost::algorithm::replace_all(ProcInfo.get<1>().string(), ProcInfo.get<1>().filename(), L"dolapi.dll");
is .string() returning a mutable reference? -Thorsten _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 4068 (20090512) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 4068 (20090512) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com