Modify

Ticket #7741 (closed Bugs: fixed)

Opened 17 months ago

Last modified 17 months ago

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

Change History

comment:1 Changed 17 months ago by dave

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

I was totally wrong

comment:2 Changed 17 months 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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
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.