Re: [Boost-bugs] [Boost C++ Libraries] #7308: Property maps from bundled properties (with base member)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7308: Property maps from bundled properties (with base member)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-12 11:58:46


#7308: Property maps from bundled properties (with base member)
--------------------------------------------+-------------------------------
  Reporter: andreas.zilian@… | Owner: jewillco
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: graph
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords: property map, bundled properties, base member
--------------------------------------------+-------------------------------

Comment (by jewillco):

 Creating a property named `vertex_bundle` will confuse the compiler, since
 there is a built-in property in `adjacency_list` by that name already.
 The original code will take a bit more work to fix. As a workaround,
 could you try putting in an explicit cast to `int Vertex::*` on
 `&Vertex::base_value`? That worked for me.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7308#comment:2>
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:10 UTC