Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7364: ambiguity error constructing std::vector from assign::list_of
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-19 15:29:54
#7364: ambiguity error constructing std::vector from assign::list_of
--------------------------------------+-------------------------------------
Reporter: eric_niebler | Owner: nesotto
Type: Bugs | Status: new
Milestone: To Be Determined | Component: assign
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Comment (by zadirion@â¦):
Ok, since my report was closed as a duplicate, I'll be letting people know
here that a temporary fix for this is the following:
Adding a to_container(dummy) call on the second list_of fixes the issue,
where dummy is a dummy object of the same type as the container.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7364#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:10 UTC