Boost C++ Libraries: Ticket #2224: filesystem::basic_path<>::replace_extension default parameter is wrong https://svn.boost.org/trac10/ticket/2224 <p> boost\filesystem\path.hpp:206 </p> <blockquote> <p> basic_path &amp; replace_extension( const string_type &amp; new_extension = "" ); </p> </blockquote> <p> The default extension is wrong for string_type==std::wstring and causes a compiler error. </p> <p> It should probably be </p> <p> new_extension = string_type() </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2224 Trac 1.4.3 Marshall Clow Tue, 09 Sep 2008 18:52:46 GMT component, milestone changed; owner set https://svn.boost.org/trac10/ticket/2224#comment:1 https://svn.boost.org/trac10/ticket/2224#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Beman Dawes</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">filesystem</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.36.0</span> → <span class="trac-field-new">Boost 1.37.0</span> </li> </ul> Ticket Beman Dawes Wed, 29 Oct 2008 11:52:10 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2224#comment:2 https://svn.boost.org/trac10/ticket/2224#comment:2 <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-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/49481" title="Filesystem: fix #2224 (Hajo Kirchhoff)">[49481]</a>) Filesystem: fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2224" title="#2224: Bugs: filesystem::basic_path&lt;&gt;::replace_extension default parameter is wrong (closed: fixed)">#2224</a> (Hajo Kirchhoff) </p> Ticket Beman Dawes Wed, 29 Oct 2008 12:05:18 GMT <link>https://svn.boost.org/trac10/ticket/2224#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2224#comment:3</guid> <description> <p> Fixed. </p> <p> Thanks for the bug report! </p> <p> --Beman </p> </description> <category>Ticket</category> </item> </channel> </rss>