From a210e0e5c5d646015d6f29a03e257ac0faf9e9fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20M=2E=20L=C3=B3pez=20Mu=C3=B1oz?= Date: Mon, 24 Jan 2005 07:36:47 +0000 Subject: [PATCH] missing partial_std_allocator_wrapper ctor, fix by Daniel James [SVN r26831] --- include/boost/detail/allocator_utilities.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/boost/detail/allocator_utilities.hpp b/include/boost/detail/allocator_utilities.hpp index b9bbe3e..6929087 100644 --- a/include/boost/detail/allocator_utilities.hpp +++ b/include/boost/detail/allocator_utilities.hpp @@ -1,4 +1,4 @@ -/* Copyright 2003-2004 Joaquín M López Muñoz. +/* Copyright 2003-2005 Joaquín M López Muñoz. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) @@ -42,6 +42,11 @@ public: template partial_std_allocator_wrapper(const partial_std_allocator_wrapper&){} + partial_std_allocator_wrapper(const std::allocator& x): + std::allocator(x) + { + }; + #if defined(BOOST_DINKUMWARE_STDLIB) /* Dinkumware guys didn't provide a means to call allocate() without * supplying a hint, in disagreement with the standard.