diff --git a/include/boost/intrusive/list.hpp b/include/boost/intrusive/list.hpp index 507e73c..a1a8a7b 100644 --- a/include/boost/intrusive/list.hpp +++ b/include/boost/intrusive/list.hpp @@ -1260,7 +1260,7 @@ class list_impl } } - //! Requires: value must be a reference to a value inserted in a list. + //! Requires: `value` must be a reference to a value inserted in an instance of this container type. //! //! Effects: This function returns a const_iterator pointing to the element //! @@ -1297,7 +1297,7 @@ class list_impl return const_iterator(value_traits::to_node_ptr(r), const_value_traits_ptr()); } - //! Requires: value must be a reference to a value inserted in a list. + //! Requires: `value` must be a reference to a value inserted in an instance of this container type. //! //! Effects: This function returns a const_iterator pointing to the element //! diff --git a/include/boost/intrusive/slist.hpp b/include/boost/intrusive/slist.hpp index ac42cb4..83659b1 100644 --- a/include/boost/intrusive/slist.hpp +++ b/include/boost/intrusive/slist.hpp @@ -1742,7 +1742,7 @@ class slist_impl } } - //! Requires: value must be a reference to a value inserted in a list. + //! Requires: `value` must be a reference to a value inserted in an instance of this container type. //! //! Effects: This function returns a const_iterator pointing to the element //! @@ -1777,7 +1777,7 @@ class slist_impl return const_iterator(value_traits::to_node_ptr(r), const_value_traits_ptr()); } - //! Requires: value must be a reference to a value inserted in a list. + //! Requires: `value` must be a reference to a value inserted in an instance of this container type. //! //! Effects: This function returns a const_iterator pointing to the element //!