Jeremy, I see this in docs:

boost::graph_traits<G>::directed_category
The choices are directed_tag and undirected_tag.

However, the following code:

typedef typename boost::graph_traits<MutableGraph>::directed_category dir;
dir()[10];

Produces this message:

/home/ghost/Work/boost/boost/graph/random.hpp:112: no match for `
boost::bidirectional_tag [int]' operator

which means that directed_category can be bidirectional_tag. Even though
bidirectional_tag is derived from directed_tag, this is not allowed by docs.
So, where's the bug? In docs or implementation?

- Volodya

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to