Boost logo

Boost Users :

From: Daniel Schlyder (daniel_at_[hidden])
Date: 2007-05-21 23:04:36


Noah Roberts wrote:
> Jaye Bass wrote:
>> How do you get the path class to accept a windows drive letter?
>>
>> Using boost1_33_1, VS 2005, XP Pro SP2 and linking with
>> libboost_filesystem-vc80-mt-s-1_33_1.lib
>
> Add the following line of code before you do any path processing:
>
> boost::filesystem::path::default_name_check(boost::filesystem::native);

Or upgrade to Boost 1.34:

http://boost.org/libs/filesystem/doc/i18n.html#Simplification

-- 
Daniel Schlyder

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