Re: [Boost-bugs] [Boost C++ Libraries] #4370: [Serialization] map with private default constructor does not compile

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-07-02 20:15:47


#4370: [Serialization] map with private default constructor does not compile
---------------------------+------------------------------------------------
  Reporter: anonymous | Owner: ramey
      Type: Bugs | Status: reopened
 Milestone: Boost 1.44.0 | Component: serialization
   Version: Boost 1.40.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------------------------------

Comment (by ramey):

 I've double checked.

 I do indeed get a compiler error on the following line

   std::map<int,A>::value_type m1(1,A(10));

 which I'm not really understanding as you point out shouldn't be
 instantitiating the default constructor. In any case, that's an MSVC
 and/or standard library issue.

 I do see the code in collections_load_impl.hpp you refer to.

 So ... what do you want me to do? Do you have a patch to submit?

 Robert Ramey

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4370#comment:5>
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