Boost C++ Libraries: Ticket #535: Problems with native_file_string() on windows https://svn.boost.org/trac10/ticket/535 <pre class="wiki">It seems I have stumbled upon a known bug with path::native_file_string() on windows. The returned std::string object can not be destroyed when going out of scope. A similar error occurs when using directory_iterator::leaf(). Has anyone developed a patch for this yet? Thanks, barry bazbishop@btinternet.com see also: http://aspn.activestate.com/ASPN/Mail/Message/boost/1968006 http://archives.free.net.ph/message/20051111.035907.1ed81e73.en.html </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/535 Trac 1.4.3 beman_dawes Wed, 14 Dec 2005 03:01:09 GMT <link>https://svn.boost.org/trac10/ticket/535#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/535#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=51042 Hum... What do you mean by "can not be destroyed when going out of scope"? The return from these functions is by value, so destruction is automatic. Could you post a sample of your code? --Beman </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>beman_dawes</dc:creator> <pubDate>Fri, 30 Dec 2005 02:28:49 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/535#comment:2 https://svn.boost.org/trac10/ticket/535#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=51042 In view of the lack of sample code, I'm closing this. Since the object involved is automatic (stack) allocation, I can't see any possible "cannot be destroyed when going out of scope" issue. Perhaps the OP meant something else, but I don't have any plausible guess for what that might be. --Beman </pre> Ticket