Ticket #7122: Typos in container docs.

[SVN r79447]
This commit is contained in:
Ion Gaztañaga
2012-07-12 12:35:14 +00:00
parent 586c35bf1d
commit 00285548d9

View File

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