2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-25 16:32:09 +00:00

Merge pull request #42 from jzmaddock/patch-2

Remove depricated type_traits usage.
This commit is contained in:
marcinz
2015-10-23 09:11:18 -04:00

View File

@@ -443,7 +443,7 @@ namespace boost {
// graph type. Instead, use directedS, which also provides the
// functionality required for a Bidirectional Graph (in_edges,
// in_degree, etc.).
BOOST_STATIC_ASSERT(type_traits::ice_not<(is_same<Directed, bidirectionalS>::value)>::value);
BOOST_STATIC_ASSERT(!(is_same<Directed, bidirectionalS>::value));
typedef typename mpl::if_<is_directed,
bidirectional_tag, undirected_tag>::type