Subject: [Boost-bugs] [Boost C++ Libraries] #10382: 1.56.0 Graph adjacency_list has compile errors on g++ 4.6.4
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-20 05:11:53
#10382: 1.56.0 Graph adjacency_list has compile errors on g++ 4.6.4
---------------------------------------------+-------------------------
Reporter: Conrad Mercer <conrad.mercer@â¦> | Owner: jewillco
Type: Bugs | Status: new
Milestone: To Be Determined | Component: graph
Version: Boost 1.56.0 | Severity: Showstopper
Keywords: compile error |
---------------------------------------------+-------------------------
The following code will generate compile errors on g++ 4.6.4 but works on
g++ 4.7 and 4.8. The problem looks to be in
detail/adjacency_list.hpp:319-21 where the = default; specification is
unable to generate a valid implementation so the move operators become
implicitly deleted.
{{{
#include "boost/graph/adjacency_list.hpp"
int main(int argc, char** argv)
{
using boost::adjacency_list;
using boost::vecS;
using boost::directedS;
typedef adjacency_list<vecS, vecS, directedS, boost::default_color_type>
Graph;
std::vector< std::pair<int, int> > testVec;
auto graph = Graph( begin(testVec), end(testVec), testVec.size());
return 0;
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10382> 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:16 UTC