Boost logo

Boost Users :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-01-09 19:42:31


At 06:46 PM 1/9/2005, GIE wrote:
>how to i append directory containing space char?
>
>following test failes.
>boost::filesystem::path p;
>p/="test 1";

Change the last line to:

p/=boost::filesystem::path( "test 1", boost::filesystem::native );

or

p/=boost::filesystem::path( "test 1", boost::filesystem::no_check );

--Beman


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