|
@@ -41,6 +41,8 @@
|
|
|
// somewhat different from the STL standard. Irix uses this one too.
|
|
// somewhat different from the STL standard. Irix uses this one too.
|
|
|
// It might be inherited from an early draft of the STL standard.
|
|
// It might be inherited from an early draft of the STL standard.
|
|
|
|
|
|
|
|
|
|
+#pragma message("xxxxxxxxx using old style allocator")
|
|
|
|
|
+
|
|
|
template<class Type>
|
|
template<class Type>
|
|
|
class dallocator : public alloc {
|
|
class dallocator : public alloc {
|
|
|
public:
|
|
public:
|
|
@@ -54,6 +56,8 @@ public:
|
|
|
// Later versions of gcc want to use a still different, nonstandard
|
|
// Later versions of gcc want to use a still different, nonstandard
|
|
|
// definition. Sheesh.
|
|
// definition. Sheesh.
|
|
|
|
|
|
|
|
|
|
+#pragma message("xxxxxxxxx using gnu style allocator")
|
|
|
|
|
+
|
|
|
template<class Type>
|
|
template<class Type>
|
|
|
class dallocator : public allocator<Type> {
|
|
class dallocator : public allocator<Type> {
|
|
|
public:
|
|
public:
|
|
@@ -73,6 +77,8 @@ public:
|
|
|
|
|
|
|
|
#else // *_STYLE_ALLOCATOR
|
|
#else // *_STYLE_ALLOCATOR
|
|
|
|
|
|
|
|
|
|
+#pragma message("xxxxxxxxx using default allocator")
|
|
|
|
|
+
|
|
|
// This is the correct allocator declaration as the current C++
|
|
// This is the correct allocator declaration as the current C++
|
|
|
// standard defines it.
|
|
// standard defines it.
|
|
|
template<class Type>
|
|
template<class Type>
|