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-27 11:09:02
#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 anonymous):
Replying to [comment:2 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,
Yes, that's what I meant.
> 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.
It is hard to argue against such reasoning.
Don't forget that B.PO parses not only command line now.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4142#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:03 UTC