diff --git a/include/boost/container/allocator_traits.hpp b/include/boost/container/allocator_traits.hpp
index d6621f6..b08f601 100644
--- a/include/boost/container/allocator_traits.hpp
+++ b/include/boost/container/allocator_traits.hpp
@@ -347,7 +347,7 @@ struct allocator_traits
#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
//! Effects: calls a.construct(p, std::forward(args)...)
if that call is well-formed;
- //! otherwise, invokes ::new (static_cast(p)) T(std::forward(args)...)
+ //! otherwise, invokes `placement new` (static_cast(p)) T(std::forward(args)...)
template
BOOST_CONTAINER_FORCEINLINE static void construct(Allocator & a, T* p, BOOST_FWD_REF(Args)... args)
{
diff --git a/include/boost/container/flat_map.hpp b/include/boost/container/flat_map.hpp
index c5d6e03..50e25d8 100644
--- a/include/boost/container/flat_map.hpp
+++ b/include/boost/container/flat_map.hpp
@@ -2108,7 +2108,7 @@ class flat_multimap
void merge(flat_map& source)
{ m_flat_tree.merge_equal(source.tree()); }
- //! @copydoc ::boost::container::flat_multimap::merge(flat_multimap&)
+ //! @copydoc ::boost::container::flat_multimap::merge(flat_map&)
template
void merge(BOOST_RV_REF_BEG flat_map BOOST_RV_REF_END source)
{ return this->merge(static_cast&>(source)); }
diff --git a/include/boost/container/flat_set.hpp b/include/boost/container/flat_set.hpp
index 5dc6be5..e58ea4f 100644
--- a/include/boost/container/flat_set.hpp
+++ b/include/boost/container/flat_set.hpp
@@ -624,7 +624,7 @@ class flat_set
BOOST_CONTAINER_FORCEINLINE void merge(flat_set& source)
{ this->base_t::merge_unique(source.tree()); }
- //! @copydoc ::boost::container::flat_map::merge(flat_set&)
+ //! @copydoc ::boost::container::flat_set::merge(flat_set&)
template
BOOST_CONTAINER_FORCEINLINE void merge(BOOST_RV_REF_BEG flat_set BOOST_RV_REF_END source)
{ return this->merge(static_cast&>(source)); }
@@ -634,7 +634,7 @@ class flat_set
BOOST_CONTAINER_FORCEINLINE void merge(flat_multiset& source)
{ this->base_t::merge_unique(source.tree()); }
- //! @copydoc ::boost::container::flat_map::merge(flat_multiset&)
+ //! @copydoc ::boost::container::flat_set::merge(flat_multiset&)
template
BOOST_CONTAINER_FORCEINLINE void merge(BOOST_RV_REF_BEG flat_multiset BOOST_RV_REF_END source)
{ return this->merge(static_cast&>(source)); }
diff --git a/include/boost/container/string.hpp b/include/boost/container/string.hpp
index b49811f..915fb58 100644
--- a/include/boost/container/string.hpp
+++ b/include/boost/container/string.hpp
@@ -2128,7 +2128,7 @@ class basic_string
//!
//! Effects: Calls `replace(i1 - begin(), i2 - i1, sv).`.
//!
- //! : *this.
+ //! Returns: *this.
template class BasicStringView>
basic_string& replace(const_iterator i1, const_iterator i2, BasicStringView sv)
{
@@ -2141,7 +2141,7 @@ class basic_string
//!
//! Effects: Calls replace(i1 - begin(), i2 - i1, il.begin(), il.size()).
//!
- //! : *this.
+ //! Returns: *this.
basic_string& replace(const_iterator i1, const_iterator i2, std::initializer_list il)
{
return this->replace( static_cast(i1 - this->cbegin())