Re: [Boost-bugs] [Boost C++ Libraries] #4142: Option names should be constructible from strings

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4142: Option names should be constructible from strings
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-04-26 12:53:54


#4142: Option names should be constructible from strings
-------------------------------+--------------------------------------------
 Reporter: afoglia@… | Owner: vladimir_prus
     Type: Feature Requests | Status: new
Milestone: Boost 1.43.0 | Component: program_options
  Version: Boost 1.42.0 | Severity: Cosmetic
 Keywords: |
-------------------------------+--------------------------------------------

Comment(by vladimir_prus):

 I am not sure I follow what exception safety issues are there? It's only
 possible to leak 's' when ctor of std::string throws, which can happen
 only in 'out of memory'
 condition, and I'm not sure I care much about that use case -- especially
 for a library that parses program's command line.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4142#comment:2>
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:03 UTC