|
Boost Users : |
From: Nat Goodspeed (ngoodspeed_at_[hidden])
Date: 2007-05-17 13:18:45
> -----Original Message-----
> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
> bounces_at_[hidden]] On Behalf Of Alan Robert Clark
> Sent: Thursday, May 17, 2007 4:34 AM
> To: boost-users_at_[hidden]
> Subject: [Boost-users] Newbie: converting a fs::path to std::string?
>
> the << operator does not try to convert fs::path to std:: string.
> Best way of handling this?
[Nat] Which string do you want? There are a number of strings you can
retrieve from a boost::filesystem::path:
http://boost.org/libs/filesystem/doc/tr2_proposal.html#basic_path-observ
ers
Just call one of those methods in your << path.method() << expression.
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