Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-02-05 08:28:45

Jeremy, I see this in docs:

  The choices are directed_tag and undirected_tag.

However, the following code:

    typedef typename boost::graph_traits<MutableGraph>::directed_category dir;


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

Boost list run by bdawes at, gregod at, cpdaniel at, john at