[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-bugs
Subject: [Boost-bugs] [Boost C++ Libraries] #11260: stored_edge_property's copy constructor is implicitly del
From: "Boost C++ Libraries" <noreply () lists ! boost ! org>
Date: 2015-04-30 18:33:53
Message-ID: 058.49580f86c5e8dfc21c55ba2d07efda50 () lists ! boost ! org
[Download RAW message or body]
#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.
_______________________________________________
Boost-bugs mailing list
Boost-bugs@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic