Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4370: [Serialization] map with private default constructor does not compile
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-28 16:42:39
#4370: [Serialization] map with private default constructor does not compile
---------------------------+------------------------------------------------
Reporter: anonymous | Owner: ramey
Type: Bugs | Status: new
Milestone: Boost 1.44.0 | Component: serialization
Version: Boost 1.40.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------------------------------
Comment (by ramey):
When I compile your test, I get a compilation error at the following
statement
std::map<int,A>::value_type m1(1,A(10));
This has nothing to do with the serialization library.
I don't see how I could possibly fix this from within the serialization
library.
I believe your commented out fix is the correct one since the elements of
A are in fact created by std::pair
I'm labeling this "wont fix" only because there is not "cant fix"
Robert Ramey
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4370#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:03 UTC