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 <3dw...@verizon.net>
* include/precompiled/stdc++.h: Add scoped_allocator.
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>