
11 May
2009
11 May
'09
5:46 p.m.
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