[Boost-bugs] [Boost C++ Libraries] #10707: Subgraph copy constructor doesn't copy all the data for children subgraphs

Subject: [Boost-bugs] [Boost C++ Libraries] #10707: Subgraph copy constructor doesn't copy all the data for children subgraphs
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-28 17:37:41


#10707: Subgraph copy constructor doesn't copy all the data for children subgraphs
-------------------------------------+----------------------
 Reporter: 4ernov@… | Owner: jewillco
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: graph
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+----------------------
 Subgraph copy constructor doesn't copy all the data required for normal
 working in case of the subgraph object actually represents children
 subgraph. As a result, copied object is not equal to original one and
 usually can't be used any more.

 Here's the data fields that aren't copied:
 1. m_graph (is copied only in case the subgraph object represents root
 subgraph).
 2. m_local_vertex and m_local_edge containers (ok for root subgraph, data
 loss for children subgraphs).

 The patch with fix is attached.

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