|
Boost Users : |
Subject: Re: [Boost-users] [boost.stringalgo] issue
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2009-05-12 14:16:03
Hi:
What is the best way of checking this.
Chers
Sean.
-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Thorsten
Ottosen
Sent: 11 May 2009 18:47
To: boost-users_at_[hidden]
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<DWORD, boost::filesystem::wpath> 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_at_[hidden]
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.
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4068 (20090512) __________
The message was checked by ESET NOD32 Antivirus.
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