diff mbox

[v3] add <scoped_allocator>

Message ID 4E26F589.3010008@verizon.net
State New
Headers show

Commit Message

Ed Smith-Rowland July 20, 2011, 3:34 p.m. UTC
On 07/18/2011 12:18 PM, Jonathan Wakely wrote:
> On 9 July 2011 14:46, Jonathan Wakely wrote:
>> This adds the new<scoped_allocator>  header. Currently only
>> std::vector has the necessary support for C++0x allocators to be
>> usable with std::scoped_allocator_adaptor.
>>
>>         * include/Makefile.am: Add new header.
>>         * include/Makefile.in: Regenerate.
>>         * include/std/scoped_allocator: New.
>>         * doc/xml/manual/status_cxx200x.xml: Update.
>>         * testsuite/20_util/scoped_allocator/1.cc: New.
>>         * testsuite/20_util/scoped_allocator/propagation.cc: New.
>>         * testsuite/20_util/scoped_allocator/requirements/typedefs.cc: New.
>>         * testsuite/20_util/scoped_allocator/requirements/
>>         explicit_instantiation.cc: New.
>>
>> Tested x86_64-linux, commited to trunkx
> Thanks to Francois for pointing out I attached the wrong patch, this
> is the patch matching the changelog above, in r176079
All,

Here is a trivial addition to include scoped_allocator in the 
precompiled headers.
It bootstrapped and regtested on x86_64 linux.

Ed
2011-07-20  Ed Smith-Rowland  <3dw4rd@verizon.net>

	* include/precompiled/stdc++.h: Add scoped_allocator.

Comments

Paolo Carlini July 20, 2011, 3:46 p.m. UTC | #1
On 07/20/2011 05:34 PM, Ed Smith-Rowland wrote:
>
> Here is a trivial addition to include scoped_allocator in the 
> precompiled headers. It bootstrapped and regtested on x86_64 linux.
Applied, thanks.

Paolo.
diff mbox

Patch

Index: include/precompiled/stdc++.h
===================================================================
--- include/precompiled/stdc++.h	(revision 176462)
+++ include/precompiled/stdc++.h	(working copy)
@@ -1,6 +1,6 @@ 
 // C++ includes used for precompiling -*- C++ -*-
 
-// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -106,6 +106,7 @@ 
 #include <random>
 #include <ratio>
 #include <regex>
+#include <scoped_allocator>
 #include <system_error>
 #include <thread>
 #include <tuple>