Subject: [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-04 15:56:13
#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: new
Milestone: Boost 1.36.0 | Component: graph
Version: Boost 1.35.0 | Severity: Problem
Keywords: |
----------------------------------------+-----------------------------------
Due to the following code in boost/graph/properties.hpp:154,155
typedef typename Graph::graph_tag graph_tag;
default named paramters can not be used in external libraries, where
'Graph' does not have a graph_tag type. I tested with
depth_first_search(). If the code would change to
typedef typename graph_traits<Graph>::graph_tag graph_tag;
then would be OK. But if I change the line above I get other error
messages.
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2072> 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