Skip to content

Commit

Permalink
Remove depricated type_traits usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzmaddock committed Jul 21, 2015
1 parent 7c95f6e commit 1d5f43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/graph/adjacency_matrix.hpp
Expand Up @@ -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
Expand Down

1 comment on commit 1d5f43d

@v4hn
Copy link

@v4hn v4hn commented on 1d5f43d Feb 15, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit didn't make it into boost 1.60.
That's a rather big problem because type_traits in 1.60. does not automatically include
the resp. headers anymore and, hence, boost currently bundles a broken version of boost graph.

Please make sure this is fixed in the next boost release!

Please sign in to comment.