missing partial_std_allocator_wrapper ctor, fix by Daniel James

[SVN r26831]
This commit is contained in:
Joaquín M. López Muñoz
2005-01-24 07:36:47 +00:00
parent 63a3c4ccf5
commit a210e0e5c5

View File

@ -1,4 +1,4 @@
/* Copyright 2003-2004 Joaqu<71>n M L<>pez Mu<4D>oz.
/* Copyright 2003-2005 Joaqu<71>n M L<>pez Mu<4D>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<typename Other>
partial_std_allocator_wrapper(const partial_std_allocator_wrapper<Other>&){}
partial_std_allocator_wrapper(const std::allocator<Type>& x):
std::allocator<Type>(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.