forked from boostorg/config
Changed allocate(1,0) to allocate(1) for Dinkumware 3.06
[SVN r11254]
This commit is contained in:
@ -7,6 +7,7 @@
|
|||||||
// TITLE: std::allocator
|
// TITLE: std::allocator
|
||||||
// DESCRIPTION: The C++ standard library does not provide
|
// DESCRIPTION: The C++ standard library does not provide
|
||||||
// a standards conforming std::allocator.
|
// a standards conforming std::allocator.
|
||||||
|
|
||||||
#ifndef BOOST_NESTED_TEMPLATE
|
#ifndef BOOST_NESTED_TEMPLATE
|
||||||
#define BOOST_NESTED_TEMPLATE template
|
#define BOOST_NESTED_TEMPLATE template
|
||||||
#endif
|
#endif
|
||||||
@ -33,7 +34,7 @@ int foo(const T& i)
|
|||||||
alloc1_t a1;
|
alloc1_t a1;
|
||||||
alloc1_t a2(a1);
|
alloc1_t a2(a1);
|
||||||
|
|
||||||
pointer p = a1.allocate(1,0);
|
pointer p = a1.allocate(1);
|
||||||
const_pointer cp = p;
|
const_pointer cp = p;
|
||||||
a1.construct(p,i);
|
a1.construct(p,i);
|
||||||
size_type s = a1.max_size();
|
size_type s = a1.max_size();
|
||||||
|
Reference in New Issue
Block a user