Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3977: Compile error on make_nvp with reference data member
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-04 06:49:00
#3977: Compile error on make_nvp with reference data member
----------------------------------+-----------------------------------------
Reporter: kondo@⦠| Owner: ramey
Type: Patches | Status: closed
Milestone: Boost 1.43.0 | Component: serialization
Version: Boost 1.42.0 | Severity: Problem
Resolution: invalid | Keywords:
----------------------------------+-----------------------------------------
Changes (by ramey):
* status: new => closed
* resolution: => invalid
Comment:
this is not an error.
It's telling you not to pass a non-const.
try fixing it with a const_cast instead.
Your fix will actually create an error in some instances. The test suite
doesn't test this specifically.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3977#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:02 UTC