Subject: Re: [Boost-users] [graph] how do i test at compile time if a Graph is directed or undirected?
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2011-10-28 10:43:18


On Fri, 28 Oct 2011, Christoph wrote:

> Hi,
>
> ist it possible to test at compile time if a graph is directed or
> undirected?
> I would like the compiler to give an error message if the graph is
> directed.

See directed_category in
<URL:http://www.boost.org/doc/libs/1_47_0/libs/graph/doc/Graph.html> for
the way to check.

-- Jeremiah Willcock