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-06 23:29:02
#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 anonymous):
I will try to put something together, but it will take me some time (as I
have been using the default boost on Ubuntu) because I will need to
compile my own local copy and familiarize myself with the inner workings
of the serialization library.
NK
Replying to [comment:5 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:6> 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