Boost logo

Boost Users :

Subject: [Boost-users] [boost.filesystem3] ensuring a path has a \ or / on the end
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2010-12-29 05:53:33


Hi:
I'm writing some c++ code (using win32 api functions) and need to ensure that the boost::filesystem::path has a backslash on the end. For example the path:
C:\test should beoutput as c:\test\
Does boost::filesystem have a method to ensure this is the case?
Cheers
Sean.



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