Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79447 - trunk/boost/container
From: igaztanaga_at_[hidden]
Date: 2012-07-12 08:35:15


Author: igaztanaga
Date: 2012-07-12 08:35:14 EDT (Thu, 12 Jul 2012)
New Revision: 79447
URL: http://svn.boost.org/trac/boost/changeset/79447

Log:
Ticket #7122: Typos in container docs.
Text files modified:
   trunk/boost/container/allocator_traits.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/container/allocator_traits.hpp
==============================================================================
--- trunk/boost/container/allocator_traits.hpp (original)
+++ trunk/boost/container/allocator_traits.hpp 2012-07-12 08:35:14 EDT (Thu, 12 Jul 2012)
@@ -213,8 +213,8 @@
    static void deallocate(Alloc &a, pointer p, size_type n)
    { return a.deallocate(p, n); }
 
- //! <b>Effects</b>: calls `a.construct(p, std::forward<Args>(args)...)` if that call is well-formed;
- //! otherwise, invokes `::new (static_cast<void*>(p)) T(std::forward<Args>(args)...)`
+ //! <b>Effects</b>: 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::


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk