2000-04-22 04:33:34 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 1996-1997
|
|
|
|
* Silicon Graphics Computer Systems, Inc.
|
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, distribute and sell this software
|
|
|
|
* and its documentation for any purpose is hereby granted without fee,
|
|
|
|
* provided that the above copyright notice appear in all copies and
|
|
|
|
* that both that copyright notice and this permission notice appear
|
|
|
|
* in supporting documentation. Silicon Graphics makes no
|
|
|
|
* representations about the suitability of this software for any
|
|
|
|
* purpose. It is provided "as is" without express or implied warranty.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CPP_BACKWARD_ALLOC_H
|
|
|
|
#define _CPP_BACKWARD_ALLOC_H 1
|
|
|
|
|
|
|
|
#ifndef _CPP_BITS_STL_CONFIG_H
|
|
|
|
#include <bits/stl_config.h>
|
|
|
|
#endif
|
|
|
|
#ifndef _CPP_BITS_STL_ALLOC_H
|
|
|
|
#include <bits/stl_alloc.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __STL_USE_NAMESPACES
|
|
|
|
|
|
|
|
using __STD::__malloc_alloc_template;
|
|
|
|
using __STD::malloc_alloc;
|
|
|
|
using __STD::simple_alloc;
|
|
|
|
using __STD::debug_alloc;
|
2000-05-25 18:06:30 +08:00
|
|
|
#ifndef __USE_MALLOC
|
2000-04-22 04:33:34 +08:00
|
|
|
using __STD::__default_alloc_template;
|
2000-05-25 18:06:30 +08:00
|
|
|
#endif
|
2000-04-22 04:33:34 +08:00
|
|
|
using __STD::alloc;
|
|
|
|
using __STD::single_client_alloc;
|
|
|
|
#ifdef __STL_STATIC_TEMPLATE_MEMBER_BUG
|
|
|
|
using __STD::__malloc_alloc_oom_handler;
|
|
|
|
#endif /* __STL_STATIC_TEMPLATE_MEMBER_BUG */
|
|
|
|
#ifdef __STL_USE_STD_ALLOCATORS
|
|
|
|
using __STD::allocator;
|
|
|
|
#endif /* __STL_USE_STD_ALLOCATORS */
|
|
|
|
|
|
|
|
#endif /* __STL_USE_NAMESPACES */
|
|
|
|
|
|
|
|
#endif /* _CPP_BACKWARD_ALLOC_H */
|
|
|
|
|
|
|
|
// Local Variables:
|
|
|
|
// mode:C++
|
|
|
|
// End:
|