Re: [Boost-bugs] [Boost C++ Libraries] #6553: Boost.Format - format object implicitly converts to string

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6553: Boost.Format - format object implicitly converts to string
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-16 06:50:32


#6553: Boost.Format - format object implicitly converts to string
-------------------------------------+--------------------------------------
  Reporter: mpbecey7gu@… | Owner: samuel_krempp
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: format
   Version: Boost 1.47.0 | Severity: Not Applicable
Resolution: | Keywords:
-------------------------------------+--------------------------------------

Comment (by dlwalker):

 Converting a `format` object to a string object can be highly convenient,
 but the two object types aren't conceptually and/or functionally
 equivalent (or even nearly so). Consider the potential consequences
 before adding this change. Maybe the conversion operator could use the
 C++11 "explicit" marker, but I haven't considered if that solution would
 satisfy anyone.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6553#comment:1>
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:09 UTC