mirror of
https://github.com/boostorg/detail.git
synced 2025-08-01 21:34:28 +02:00
missing partial_std_allocator_wrapper ctor, fix by Daniel James
[SVN r26831]
This commit is contained in:
@@ -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.
|
* Distributed under the Boost Software License, Version 1.0.
|
||||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
* http://www.boost.org/LICENSE_1_0.txt)
|
* http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@@ -42,6 +42,11 @@ public:
|
|||||||
template<typename Other>
|
template<typename Other>
|
||||||
partial_std_allocator_wrapper(const partial_std_allocator_wrapper<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)
|
#if defined(BOOST_DINKUMWARE_STDLIB)
|
||||||
/* Dinkumware guys didn't provide a means to call allocate() without
|
/* Dinkumware guys didn't provide a means to call allocate() without
|
||||||
* supplying a hint, in disagreement with the standard.
|
* supplying a hint, in disagreement with the standard.
|
||||||
|
Reference in New Issue
Block a user