diff --git a/include/boost/container/allocator_traits.hpp b/include/boost/container/allocator_traits.hpp index f1ce2fc..8e537cc 100644 --- a/include/boost/container/allocator_traits.hpp +++ b/include/boost/container/allocator_traits.hpp @@ -213,8 +213,8 @@ struct allocator_traits static void deallocate(Alloc &a, pointer p, size_type n) { return a.deallocate(p, n); } - //! Effects: calls `a.construct(p, std::forward(args)...)` if that call is well-formed; - //! otherwise, invokes `::new (static_cast(p)) T(std::forward(args)...)` + //! Effects: calls `a.allocate(n, p)` if that call is well-formed; + //! otherwise, invokes `a.allocate(n)` static pointer allocate(Alloc &a, size_type n, const_void_pointer p) { const bool value = boost::container::container_detail::