Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7741 closed Bugs (fixed)

Undocumented Graph requirements

Reported by: dave Owned by: jewillco
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>'

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by dave

  • Resolution set to invalid
  • Status changed from new to closed

I was totally wrong

comment:2 Changed 5 years ago by jewillco

  • Resolution changed from invalid to fixed

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

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain jewillco.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.