Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12776: Add c_str free function to Boost::Format
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-10-11 03:52:33
#12776: Add c_str free function to Boost::Format
-------------------------------+--------------------------------
Reporter: beojan@⦠| Owner: James E. King, III
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: format
Version: Boost 1.61.0 | Severity: Optimization
Resolution: | Keywords:
-------------------------------+--------------------------------
Changes (by James E. King, III):
* owner: Samuel Krempp => James E. King, III
* severity: Problem => Optimization
Comment:
As a pattern in the standard template library that already exists, c_str()
returns a pointer that is only valid for the lifetime of the object from
which it was derived, and may be invalidated by mutations of that object.
I see little value in encouraging the use of naked pointers here or in
overriding the meaning of c_str.
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/12776#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-10-11 03:58:16 UTC