xref: /haiku/headers/cpp/alloc.h (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
1 /*
2  * Copyright (c) 1996-1997
3  * Silicon Graphics Computer Systems, Inc.
4  *
5  * Permission to use, copy, modify, distribute and sell this software
6  * and its documentation for any purpose is hereby granted without fee,
7  * provided that the above copyright notice appear in all copies and
8  * that both that copyright notice and this permission notice appear
9  * in supporting documentation.  Silicon Graphics makes no
10  * representations about the suitability of this software for any
11  * purpose.  It is provided "as is" without express or implied warranty.
12  */
13 
14 #ifndef __SGI_STL_ALLOC_H
15 #define __SGI_STL_ALLOC_H
16 
17 #ifndef __STL_CONFIG_H
18 #include <stl_config.h>
19 #endif
20 #ifndef __SGI_STL_INTERNAL_ALLOC_H
21 #include <stl_alloc.h>
22 #endif
23 
24 #ifdef __STL_USE_NAMESPACES
25 
26 using __STD::__malloc_alloc_template;
27 using __STD::malloc_alloc;
28 using __STD::simple_alloc;
29 using __STD::debug_alloc;
30 using __STD::__default_alloc_template;
31 using __STD::alloc;
32 using __STD::single_client_alloc;
33 #ifdef __STL_STATIC_TEMPLATE_MEMBER_BUG
34 using __STD::__malloc_alloc_oom_handler;
35 #endif /* __STL_STATIC_TEMPLATE_MEMBER_BUG */
36 #ifdef __STL_USE_STD_ALLOCATORS
37 using __STD::allocator;
38 #endif /* __STL_USE_STD_ALLOCATORS */
39 
40 #endif /* __STL_USE_NAMESPACES */
41 
42 #endif /* __SGI_STL_ALLOC_H */
43 
44 // Local Variables:
45 // mode:C++
46 // End:
47