17 May
2007
17 May
'07
5:18 p.m.
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Alan Robert Clark Sent: Thursday, May 17, 2007 4:34 AM To: boost-users@lists.boost.org 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.