diff --git a/include/boost/intrusive/detail/utilities.hpp b/include/boost/intrusive/detail/utilities.hpp index 7846716..c548911 100644 --- a/include/boost/intrusive/detail/utilities.hpp +++ b/include/boost/intrusive/detail/utilities.hpp @@ -569,7 +569,7 @@ struct store_cont_ptr_on_it_impl template struct store_cont_ptr_on_it_impl { - static const bool value = false; + static const bool value = true; }; template diff --git a/include/boost/intrusive/list.hpp b/include/boost/intrusive/list.hpp index 2cf3fed..965baa7 100644 --- a/include/boost/intrusive/list.hpp +++ b/include/boost/intrusive/list.hpp @@ -107,7 +107,6 @@ class list_impl static const bool constant_time_size = Config::constant_time_size; static const bool stateful_value_traits = detail::is_stateful_value_traits::value; - BOOST_STATIC_ASSERT(( stateful_value_traits == false )); /// @cond