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.