Boost C++ Libraries: Ticket #621: filesystem::path as a template https://svn.boost.org/trac10/ticket/621 <pre class="wiki">I suggest boost::filesystem::path to be a template: template &lt;typename CharType = char&gt; class path; Current path will be used as path&lt;char&gt;. Of course it's unable to use path&lt;wchar_t&gt; for file operations like open(), rename() and so on with current C++ library. These function may take path&lt;char&gt; as parameters. But it's very useful to have path&lt;wchar_t&gt; 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". </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/621 Trac 1.4.3 Dave Abrahams Fri, 06 Jul 2007 01:46:42 GMT component, description changed; cc, severity set https://svn.boost.org/trac10/ticket/621#comment:1 https://svn.boost.org/trac10/ticket/621#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">bdawes@…</span> added </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">filesystem</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/621?action=diff&amp;version=1">diff</a>) </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> <p> Can't reassign to Beman until he logs into Trac </p> Ticket Dave Abrahams Mon, 09 Jul 2007 18:04:43 GMT owner, status changed; cc deleted https://svn.boost.org/trac10/ticket/621#comment:2 https://svn.boost.org/trac10/ticket/621#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">bdawes@…</span> removed </li> <li><strong>owner</strong> changed from <span class="trac-author">nobody</span> to <span class="trac-author">Beman Dawes</span> </li> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">new</span> </li> </ul> Ticket Beman Dawes Mon, 27 Aug 2007 23:41:44 GMT status, resolution changed https://svn.boost.org/trac10/ticket/621#comment:3 https://svn.boost.org/trac10/ticket/621#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fixed</span> </li> </ul> <p> This feature was part of the internationalization package of changes, which was merged into the trunk in December of 2005, and can be used in 1.34.0 and later. </p> <p> --Beman </p> Ticket Beman Dawes Mon, 27 Aug 2007 23:45:11 GMT <link>https://svn.boost.org/trac10/ticket/621#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/621#comment:4</guid> <description> <p> The requested extension() function has been provided the boost/filesystem/convenience.hpp headers since 2002. </p> <p> --Beman </p> </description> <category>Ticket</category> </item> </channel> </rss>