Re: [Boost-bugs] [Boost C++ Libraries] #4188: get() cannot take a const argument for the graph

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4188: get() cannot take a const argument for the graph
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-05 18:36:22


#4188: get() cannot take a const argument for the graph
------------------------------------------------------+---------------------
 Reporter: Trevor Harmon <Trevor.W.Harmon@…> | Owner: jewillco
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: graph
  Version: Boost 1.42.0 | Severity: Problem
 Keywords: |
------------------------------------------------------+---------------------
Changes (by jewillco):

  * owner: asutton => jewillco

Comment:

 This code cannot use a `const` graph anyway -- it mutates the `edge_index`
 map. Using `property_map<...>::const_type` rather than
 `property_map<...>::type` solves the problem if you do not actually mutate
 the resulting property map. Is it important for `property_map<const
 graph>::type` to work?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4188#comment:1>
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:03 UTC