[Boost-bugs] [Boost C++ Libraries] #11260: stored_edge_property's copy constructor is implicitly deleted for some compilers

Subject: [Boost-bugs] [Boost C++ Libraries] #11260: stored_edge_property's copy constructor is implicitly deleted for some compilers
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-30 18:33:53


#11260: stored_edge_property's copy constructor is implicitly deleted for some
compilers
------------------------------+----------------------
 Reporter: dave.lowell@… | Owner: jewillco
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: graph
  Version: Boost 1.56.0 | Severity: Problem
 Keywords: |
------------------------------+----------------------
 Stored_edge_property has two possible definitions, depending upon the
 compiler used. With MSVC or gcc less than 4.6, it is given both a copy
 constructor and a move constructor. With other compilers, it is given a
 default move constructor, and its copy constructor is implicitly deleted.

 This causes compiler errors in some unexpected places. I've attached an
 example which gives a compiler error when compiled with gcc 4.7.2 using
 c++11. I've observed the same issue on clang, although I haven't been able
 to create a simple reproduction for it there.

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