_abbrevs.h 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. /* NOTE: This is an internal header file, included by other STL headers.
  17. * You should not attempt to use it directly.
  18. */
  19. #ifndef _STLP_INTERNAL_ABBREVS_H
  20. # define _STLP_INTERNAL_ABBREVS_H
  21. // ugliness is intentional - to reduce conflicts
  22. # define input_iterator_tag _In__ItT
  23. # define output_iterator_tag _Ou__ItT
  24. # define bidirectional_iterator_tag _Bd__ItT
  25. # define random_access_iterator_tag _Ra__ItT
  26. # define input_iterator _In__It
  27. # define output_iterator _Ou__It
  28. # define bidirectional_iterator _Bd__It
  29. # define random_access_iterator _Ra__It
  30. # define reverse_bidirectional_iterator _rBd__It
  31. # define reverse_iterator _r__It
  32. # define back_insert_iterator _bI__It
  33. # define front_insert_iterator _fI__It
  34. # define raw_storage_iterator _rS__It
  35. # define _Const_traits _C_Tr
  36. # define _Const_Const_traits _CC_Tr
  37. # define _Nonconst_traits _N_Tr
  38. # define _Nonconst_Const_traits _NC_Tr
  39. // ugliness is intentional - to reduce conflicts probability
  40. # define __malloc_alloc M__A
  41. # define __node_alloc D__A
  42. # define __new_alloc N__A
  43. # define __debug_alloc G__A
  44. # define _STLP_alloc_proxy P__A
  45. # define _Deque_iterator_base _Dq__ItB
  46. # define _Deque_iterator _Dq__It
  47. # define _Select1st _S1st
  48. # define _Select2nd _S2nd
  49. # define __move_source __m_s
  50. # define _Vector_nonconst_traits _V_nct
  51. # define _Ht_iterator _Ht_It
  52. # define _List_node_base _L__NB
  53. # define _List_iterator_base _L__ItB
  54. # define _List_iterator _L__It
  55. # define _Slist_iterator_base _SL__ItB
  56. # define _Slist_iterator _SL__It
  57. # define _Rb_tree_node_base _rbT__NB
  58. # define _Rb_tree_node _rbT__N
  59. # define _Rb_tree_base_iterator _rbT__It
  60. # define _Rb_tree_base _rbT__B
  61. # if defined (__DMC__) && defined (_STLP_DEBUG)
  62. # define _NonDbg_hashtable _Nd_Ht
  63. # define _DBG_iter _d__It
  64. # endif
  65. #endif