Boost logo

Boost Users :

From: Nat Goodspeed (ngoodspeed_at_[hidden])
Date: 2007-03-12 10:16:18


-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Heiko Fechner
Sent: Monday, March 12, 2007 10:13 AM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Problem with fs::path initialization in
windows

try this
fs::path full_path( "C:\\cygwin\\boost", fs::native );

[Nat] Forgive me for being cynical, but this is what the various
constructs look like to me.

fs::path full_path(my_path_string);
// Always crash, no matter how I try to express my path.

fs::path full_path(my_path_string, fs::no_check);
// Correctly expresses my desire: never throw when constructing this
object.

fs::path full_path(my_path_string, fs::native);
// Only crash when a customer is running the program.


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