Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#7741 closed Bugs (fixed)

Undocumented Graph requirements

Reported by: Dave Abrahams Owned by: Jeremiah Willcock
Milestone: To Be Determined Component: graph
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

Each line labelled "error:" below indicates an associated type required by the Graph concept that doesn't appear in http://www.boost.org/doc/libs/1_52_0/libs/graph/doc/Graph.html

'boost::mpl::if_<boost::concepts::not_satisfied<boost::concepts::GraphConcept<knights_tour<8u, 8u> > >, boost::concepts::constraint<boost::concepts::GraphConcept<knights_tour<8u, 8u> > >, boost::concepts::requirement<boost::concepts::failed************ boost::concepts::GraphConcept<knights_tour<8u, 8u> >::************> >'
/Users/dave/src/boost/svn/release/boost/concept/detail/general.hpp:20:   instantiated from 'boost::concepts::requirement_<void (*)(boost::concepts::GraphConcept<knights_tour<8u, 8u> >)>'
knight-tour.cpp:94:   instantiated from here
/Users/dave/src/boost/svn/release/boost/graph/graph_traits.hpp:35: error: no type named 'adjacency_iterator' in 'struct knights_tour<8u, 8u>'
/Users/dave/src/boost/svn/release/boost/graph/graph_traits.hpp:36: error: no type named 'out_edge_iterator' in 'struct knights_tour<8u, 8u>'
/Users/dave/src/boost/svn/release/boost/graph/graph_traits.hpp:37: error: no type named 'in_edge_iterator' in 'struct knights_tour<8u, 8u>'
/Users/dave/src/boost/svn/release/boost/graph/graph_traits.hpp:38: error: no type named 'vertex_iterator' in 'struct knights_tour<8u, 8u>'
/Users/dave/src/boost/svn/release/boost/graph/graph_traits.hpp:39: error: no type named 'edge_iterator' in 'struct knights_tour<8u, 8u>'
/Users/dave/src/boost/svn/release/boost/graph/graph_traits.hpp:45: error: no type named 'vertices_size_type' in 'struct knights_tour<8u, 8u>'
/Users/dave/src/boost/svn/release/boost/graph/graph_traits.hpp:46: error: no type named 'edges_size_type' in 'struct knights_tour<8u, 8u>'
/Users/dave/src/boost/svn/release/boost/graph/graph_traits.hpp:47: error: no type named 'degree_size_type' in 'struct knights_tour<8u, 8u>'

Change History (2)

comment:1 by Dave Abrahams, 10 years ago

Resolution: invalid
Status: newclosed

I was totally wrong

comment:2 by Jeremiah Willcock, 10 years ago

Resolution: invalidfixed

(In [81589]) Removed references to member types not required by documentation; fixed concept definitions; fixes #7741

Note: See TracTickets for help on using tickets.