$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r80522 - in trunk/libs/container: doc test
From: igaztanaga_at_[hidden]
Date: 2012-09-13 18:07:38
Author: igaztanaga
Date: 2012-09-13 18:07:37 EDT (Thu, 13 Sep 2012)
New Revision: 80522
URL: http://svn.boost.org/trac/boost/changeset/80522
Log:
Fixed test error (allocator<void> might not have size_type) + modified changelog in documentation
Text files modified: 
   trunk/libs/container/doc/container.qbk                    |     2 ++                                      
   trunk/libs/container/test/scoped_allocator_usage_test.cpp |     6 ++----                                  
   2 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/libs/container/doc/container.qbk
==============================================================================
--- trunk/libs/container/doc/container.qbk	(original)
+++ trunk/libs/container/doc/container.qbk	2012-09-13 18:07:37 EDT (Thu, 13 Sep 2012)
@@ -616,6 +616,8 @@
 
 [section:release_notes_boost_1_52_00 Boost 1.52 Release]
 
+*  Improved `stable_vector`'s template code bloat and type safety.
+
 *  Fixed bugs
   [@https://svn.boost.org/trac/boost/ticket/6615 #6615],
   [@https://svn.boost.org/trac/boost/ticket/7139 #7139],
Modified: trunk/libs/container/test/scoped_allocator_usage_test.cpp
==============================================================================
--- trunk/libs/container/test/scoped_allocator_usage_test.cpp	(original)
+++ trunk/libs/container/test/scoped_allocator_usage_test.cpp	2012-09-13 18:07:37 EDT (Thu, 13 Sep 2012)
@@ -20,8 +20,6 @@
 {
 public:
         typedef Ty value_type;
-	typedef typename std::allocator<Ty>::pointer pointer;
-	typedef typename std::allocator<Ty>::size_type size_type;
 
         SimpleAllocator(int value)
                 : m_state(value)
@@ -32,12 +30,12 @@
                 : m_state(other.m_state)
         {}
 
-	pointer allocate(size_type n)
+	Ty* allocate(std::size_t n)
         {
                 return m_allocator.allocate(n);
         }
 
-	void deallocate(pointer p, size_type n)
+	void deallocate(Ty* p, std::size_t n)
         {
                 m_allocator.deallocate(p, n);
         }