21 Aug
2008
21 Aug
'08
6:06 a.m.
On Thu, Aug 21, 2008 at 2:27 AM, Sachin Garg
I have following 3 lines of code, is this usage correct?
fs::wpath input_path=somepath; fs::wpath output_path=anotherpath; output_path.append(input_path.begin()+7,input_path.end());
My bad, I finally figured out that above usage is not the intended use of append. Can this be registered as a feature request, I think it will be very convenient to have this. Also, I am now trying this to achieve the same effect: for(fs::wpath::iterator i=input_path.begin()+7;i!=input_path.end();i++) output_path/=(*i); While i++ works, i+7 doesn't works as basic_path::iterator does not implements advance(). Is there some specific reason for not having it? Sachin Garg