Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2006-05-05 04:53:47

Feature Requests item #1482308, was opened at 2006-05-05 12:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Raider (streetraider)
Assigned to: Nobody/Anonymous (nobody)
Summary: filesystem::path as a template

Initial Comment:
I suggest boost::filesystem::path to be a template:

template <typename CharType = char>
class path;

Current path will be used as path<char>.

Of course it's unable to use path<wchar_t> for file
operations like open(), rename() and so on with current
C++ library. These function may take path<char> as

But it's very useful to have path<wchar_t> dealing with
filenames! Any will be able to use it and pass them for
WinAPI functions by example, or use in any database
that support wide chars.

At second, I think path::extention() member function
will be useful to exctact extention of the file, such
as ".html" (or just "html") for "foo/bar.html".


You can respond by visiting:

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at