[Boost-bugs] [Boost C++ Libraries] #12538: Compiler error when assigning result of list_of to std::list on GCC

Subject: [Boost-bugs] [Boost C++ Libraries] #12538: Compiler error when assigning result of list_of to std::list on GCC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-10-19 17:53:27


#12538: Compiler error when assigning result of list_of to std::list on GCC
------------------------------+---------------------
 Reporter: ldionne.2@… | Owner: nesotto
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: assign
  Version: Boost 1.61.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 The following program fails to compile on GCC:

 {{{
 #!c++
 #include <boost/assign/list_of.hpp>
 #include <list>

 int main() {
     std::list<int> l;
     l = boost::assign::list_of(1)(2);
 }
 }}}

 [http://melpon.org/wandbox/permlink/wF67wEUtRv6betkO]

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12538>
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:20 UTC