Subject: [Boost-bugs] [Boost C++ Libraries] #12776: Add c_str free function to Boost::Format
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-20 14:08:24
#12776: Add c_str free function to Boost::Format
------------------------------+---------------------------
Reporter: beojan@⦠| Owner: samuel_krempp
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: format
Version: Boost 1.61.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------
A {{{c_str}}} function that returns a pointer to a new copy of the
formatted string would be useful to use Boost::Format to create C-style
strings.
Simply calling {{{str(fmt).c_str()}}} is insufficient since this returns a
pointer to a temporary.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12776> 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:20 UTC