diff --git a/include/boost/container/detail/value_functors.hpp b/include/boost/container/detail/value_functors.hpp index 961c9a8..39fb37c 100644 --- a/include/boost/container/detail/value_functors.hpp +++ b/include/boost/container/detail/value_functors.hpp @@ -18,23 +18,13 @@ # pragma once #endif +#include + namespace boost { namespace container { -//Functors for member algorithm defaults -template -struct value_less -{ - bool operator()(const ValueType &a, const ValueType &b) const - { return a < b; } -}; - -template -struct value_equal -{ - bool operator()(const ValueType &a, const ValueType &b) const - { return a == b; } -}; +using ::boost::intrusive::value_less; +using ::boost::intrusive::value_equal; } //namespace container { } //namespace boost {