version 1.1, 1999/11/27 10:58:33 |
version 1.1.1.2, 2000/04/14 11:08:02 |
Line 318 class traceable_alloc_template { |
|
Line 318 class traceable_alloc_template { |
|
|
|
typedef traceable_alloc_template < 0 > traceable_alloc; |
typedef traceable_alloc_template < 0 > traceable_alloc; |
|
|
#ifdef _SGI_SOURCE |
|
|
|
// We want to specialize simple_alloc so that it does the right thing |
// We want to specialize simple_alloc so that it does the right thing |
// for all pointerfree types. At the moment there is no portable way to |
// for all pointerfree types. At the moment there is no portable way to |
// even approximate that. The following approximation should work for |
// even approximate that. The following approximation should work for |
// SGI compilers, and perhaps some others. |
// SGI compilers, and recent versions of g++. |
|
|
# define __GC_SPECIALIZE(T,alloc) \ |
# define __GC_SPECIALIZE(T,alloc) \ |
class simple_alloc<T, alloc> { \ |
class simple_alloc<T, alloc> { \ |
Line 450 inline bool operator!=(const single_client_traceable_a |
|
Line 448 inline bool operator!=(const single_client_traceable_a |
|
__STL_END_NAMESPACE |
__STL_END_NAMESPACE |
|
|
#endif /* __STL_USE_STD_ALLOCATORS */ |
#endif /* __STL_USE_STD_ALLOCATORS */ |
|
|
#endif /* _SGI_SOURCE */ |
|
|
|
#endif /* GC_ALLOC_H */ |
#endif /* GC_ALLOC_H */ |