forked from boostorg/intrusive
Use intrusive utilities instead of boost utilities to limit dependencies.
This commit is contained in:
1 parent
c8f0271ab3
commit
ddafb2d4ef
4 files changed
+6
-5
No files matched your search
@@ -77,7 +77,7 @@ struct bstbase3
|
||||
static const bool safemode_or_autounlink = is_safe_autounlink<value_traits::link_mode>::value;
|
||||
static const bool stateful_value_traits = detail::is_stateful_value_traits<value_traits>::value;
|
||||
static const bool has_container_from_iterator =
|
||||
boost::is_same< header_holder_type, detail::default_header_holder< node_traits > >::value;
|
||||
detail::is_same< header_holder_type, detail::default_header_holder< node_traits > >::value;
|
||||
|
||||
struct holder_t : public ValueTraits
|
||||
{
|
||||
|
||||
@@ -88,7 +88,7 @@ class list_impl
|
||||
static const bool constant_time_size = ConstantTimeSize;
|
||||
static const bool stateful_value_traits = detail::is_stateful_value_traits<value_traits>::value;
|
||||
static const bool has_container_from_iterator =
|
||||
boost::is_same< header_holder_type, detail::default_header_holder< node_traits > >::value;
|
||||
detail::is_same< header_holder_type, detail::default_header_holder< node_traits > >::value;
|
||||
|
||||
/// @cond
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <boost/intrusive/link_mode.hpp>
|
||||
#include <boost/intrusive/options.hpp>
|
||||
#include <boost/intrusive/detail/utilities.hpp>
|
||||
#include <boost/intrusive/detail/mpl.hpp>
|
||||
#include <iterator>
|
||||
#include <functional>
|
||||
#include <algorithm>
|
||||
@@ -123,7 +124,7 @@ class slist_impl
|
||||
static const bool linear = 0 != (BoolFlags & slist_bool_flags::linear_pos);
|
||||
static const bool cache_last = 0 != (BoolFlags & slist_bool_flags::cache_last_pos);
|
||||
static const bool has_container_from_iterator =
|
||||
boost::is_same< header_holder_type, detail::default_header_holder< node_traits > >::value;
|
||||
detail::is_same< header_holder_type, detail::default_header_holder< node_traits > >::value;
|
||||
|
||||
typedef typename detail::if_c
|
||||
< linear
|
||||
|
||||
Reference in new issue
Block a user