From 00285548d9e756b11cbc655f145f99a708c687cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Thu, 12 Jul 2012 12:35:14 +0000 Subject: [PATCH] Ticket #7122: Typos in container docs. [SVN r79447] --- include/boost/container/allocator_traits.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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::