1 /*
2  *
3  * Copyright (c) 1999
4  * Boris Fomitchev
5  *
6  * This material is provided "as is", with absolutely no warranty expressed
7  * or implied. Any use is at your own risk.
8  *
9  * Permission to use or copy this software for any purpose is hereby granted
10  * without fee, provided the above notices are retained on all copies.
11  * Permission to modify the code and to distribute modified code is granted,
12  * provided the above notices are retained, and a notice that the code was
13  * modified is included with the above copyright notice.
14  *
15  */
16 
17 /* NOTE: This is an internal header file, included by other STL headers.
18  *   You should not attempt to use it directly.
19  */
20 
21 #ifndef _STLP_INTERNAL_ABBREVS_H
22 # define _STLP_INTERNAL_ABBREVS_H
23 
24 // ugliness is intentional - to reduce conflicts
25 #  define input_iterator_tag             _In__ItT
26 #  define output_iterator_tag            _Ou__ItT
27 #  define bidirectional_iterator_tag     _Bd__ItT
28 #  define random_access_iterator_tag     _Ra__ItT
29 #  define input_iterator                 _In__It
30 #  define output_iterator                _Ou__It
31 #  define bidirectional_iterator         _Bd__It
32 #  define random_access_iterator         _Ra__It
33 #  define reverse_bidirectional_iterator _rBd__It
34 #  define reverse_iterator               _r__It
35 #  define back_insert_iterator           _bI__It
36 #  define front_insert_iterator          _fI__It
37 #  define raw_storage_iterator           _rS__It
38 #  define _Const_traits                  _C_Tr
39 #  define _Const_Const_traits            _CC_Tr
40 #  define _Nonconst_traits               _N_Tr
41 #  define _Nonconst_Const_traits         _NC_Tr
42 
43 // ugliness is intentional - to reduce conflicts probability
44 #  define __malloc_alloc    M__A
45 #  define __node_alloc      D__A
46 #  define __new_alloc       N__A
47 #  define __debug_alloc     G__A
48 #  define _STLP_alloc_proxy P__A
49 
50 #  define _Deque_iterator_base     _Dq__ItB
51 #  define _Deque_iterator          _Dq__It
52 
53 #  define _Select1st                  _S1st
54 #  define _Select2nd                  _S2nd
55 #  define __move_source               __m_s
56 #  define _Vector_nonconst_traits     _V_nct
57 
58 #  define _Ht_iterator                _Ht_It
59 
60 #  define _List_node_base          _L__NB
61 #  define _List_iterator_base      _L__ItB
62 #  define _List_iterator           _L__It
63 
64 #  define _Slist_iterator_base     _SL__ItB
65 #  define _Slist_iterator          _SL__It
66 
67 #  define _Rb_tree_node_base       _rbT__NB
68 #  define _Rb_tree_node            _rbT__N
69 #  define _Rb_tree_base_iterator   _rbT__It
70 #  define _Rb_tree_base            _rbT__B
71 
72 #  if defined (__DMC__) && defined (_STLP_DEBUG)
73 #    define _NonDbg_hashtable      _Nd_Ht
74 #    define _DBG_iter              _d__It
75 #  endif
76 #endif
77 
78