type_traits usage in boost/graph/adjacency_matrix.hpp header. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=162
14 lines
720 B
Diff
14 lines
720 B
Diff
Index: boost_1_60_0/boost/graph/adjacency_matrix.hpp
|
|
===================================================================
|
|
--- boost_1_60_0.orig/boost/graph/adjacency_matrix.hpp
|
|
+++ boost_1_60_0/boost/graph/adjacency_matrix.hpp
|
|
@@ -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
|