diff --git a/include/boost/intrusive/slist_hook.hpp b/include/boost/intrusive/slist_hook.hpp index eac2737..c3f5ffd 100644 --- a/include/boost/intrusive/slist_hook.hpp +++ b/include/boost/intrusive/slist_hook.hpp @@ -270,6 +270,11 @@ class slist_member_hook //! otherwise. This function can be used to test whether \c slist::iterator_to //! will return a valid iterator. //! + //! Note: If this member is called when the value is inserted in a + //! slist with the option linear, this function will return "false" + //! for the last element, as it is not linked to anything (the next element is null), + //! so use with care. + //! //! Complexity: Constant bool is_linked() const;