Re: [Boost-bugs] [Boost C++ Libraries] #2072: Default named parameters in the graph library can not be used with external adaptet graph libraries

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2072: Default named parameters in the graph library can not be used with external adaptet graph libraries
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-06 18:33:37


#2072: Default named parameters in the graph library can not be used with external
adaptet graph libraries
-----------------------------------------+----------------------------------
  Reporter: laszlo.szakony_at_[hidden] | Owner: dgregor
      Type: Bugs | Status: assigned
 Milestone: Boost 1.37.0 | Component: graph
   Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------+----------------------------------
Changes (by dgregor):

  * status: new => assigned
  * milestone: Boost 1.36.0 => Boost 1.37.0

Comment:

 This is definitely a bug, but the fix isn't to use graph_traits. Rather,
 we need to avoid getting into this part of the code that attempts to look
 at graph_tag. The general fix is to not define a primary property_map
 template that looks into the graph type itself unless we know that
 graph_tag will be there.

 The workaround is to define a partial specialization of
 boost::property_map for your graph type, so that the primary property_map
 template is never used (and, therefore, we don't end up looking for
 graph_tag).

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2072#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:49:58 UTC