Re: [Boost-bugs] [Boost C++ Libraries] #4685: boost::interprocess::winapi::get_last_bootup_time( std::wstring&)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4685: boost::interprocess::winapi::get_last_bootup_time( std::wstring&)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-09-26 21:44:18


#4685: boost::interprocess::winapi::get_last_bootup_time( std::wstring&)
-----------------------------------------+----------------------------------
  Reporter: Jim Bell <jim@…> | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------+----------------------------------

Comment (by Jim Bell <jim@…>):

 For the record, I think std::string::erase() ought to handle npos, and I'm
 disappointed that it doesn't. Your code is more elegant than the fix: it's
 clear that you don't want to erase anything if you don't find what you're
 looking for.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4685#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC