Boost C++ Libraries: Ticket #3186: void boost::filesystem::basic_path::clear() missing https://svn.boost.org/trac10/ticket/3186 <p> The clear() method of basic_path is missing (in path.hpp), although it is documented in <a href="http://www.boost.org/doc/libs/1_39_0/libs/filesystem/doc/reference.html">http://www.boost.org/doc/libs/1_39_0/libs/filesystem/doc/reference.html</a> </p> <p> Because the correspondent empty() method is available, I assume that clear() was simply forgotten. </p> <p> Currently I work aorund this by assigning an empty string to the path instead of calling clear() on that path. </p> <p> Best regards </p> <p> Jörg </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3186 Trac 1.4.3 Beman Dawes Thu, 18 Jun 2009 15:48:26 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3186#comment:1 https://svn.boost.org/trac10/ticket/3186#comment:1 <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/54055" title="Filesystem: add basic_path::clear() to fix #3186, clear() missing">[54055]</a>) Filesystem: add basic_path::clear() to fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3186" title="#3186: Bugs: void boost::filesystem::basic_path::clear() missing (closed: fixed)">#3186</a>, clear() missing </p> Ticket