|
Boost Users : |
From: François Duranleau (duranlef_at_[hidden])
Date: 2006-04-03 10:47:33
On Mon, 3 Apr 2006, Simon Lundell wrote:
> Dear all,
>
> I am experiencing problems with boost::filesystem on files that contains
> a plus (+) sign. Below is a minimal example to test this. the line:
>
>
> boost::filesystem::path p_plus("filename+.txt");
>
> throws an exception if the filename contains a plus.
>
> Any help or hints would be greatly appreciated.
You need to change the name checker. Try this:
boost::filesystem::path p_plus("filename+.txt",
& boost::filesystem::no_check );
or maybe
boost::filesystem::path p_plus("filename+.txt",
& boost::filesystem::native );
-- François Duranleau LIGUM, Université de Montréal
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