home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / stl453up.zip / stl453fx / stlport / old_hp / algobase.h < prev    next >
C/C++ Source or Header  |  2002-04-29  |  2KB  |  98 lines

  1. /*
  2.  *
  3.  * Copyright (c) 1994
  4.  * Hewlett-Packard Company
  5.  *
  6.  * Copyright (c) 1996,1997
  7.  * Silicon Graphics Computer Systems, Inc.
  8.  *
  9.  * Copyright (c) 1997
  10.  * Moscow Center for SPARC Technology
  11.  *
  12.  * Copyright (c) 1999 
  13.  * Boris Fomitchev
  14.  *
  15.  * This material is provided "as is", with absolutely no warranty expressed
  16.  * or implied. Any use is at your own risk.
  17.  *
  18.  * Permission to use or copy this software for any purpose is hereby granted 
  19.  * without fee, provided the above notices are retained on all copies.
  20.  * Permission to modify the code and to distribute modified code is granted,
  21.  * provided the above notices are retained, and a notice that the code was
  22.  * modified is included with the above copyright notice.
  23.  *
  24.  */
  25.  
  26. #ifndef _STLP_ALGOBASE_H
  27. #define _STLP_ALGOBASE_H
  28.  
  29. # ifndef _STLP_OUTERMOST_HEADER_ID
  30. #  define _STLP_OUTERMOST_HEADER_ID 0xa002
  31. #  include <stl/_prolog.h>
  32. # endif
  33.  
  34. #ifndef _STLP_PAIR_H
  35. #include <pair.h>
  36. #endif
  37.  
  38. // memmove
  39. #ifndef _STLP_CSTRING
  40. # include <cstring>
  41. #endif
  42.  
  43. // CHAR_MAX
  44. #ifndef _STLP_CLIMITS
  45. # include <climits>
  46. #endif
  47.  
  48. #ifndef _STLP_ITERATOR_H
  49. #include <iterator.h>
  50. #endif
  51.  
  52. #ifndef _STLP_INTERNAL_ALGOBASE_H
  53. #include <stl/_algobase.h>
  54. #endif
  55.  
  56. #ifndef _STLP_INTERNAL_UNINITIALIZED_H
  57. #include <stl/_uninitialized.h>
  58. #endif
  59.  
  60. #ifdef _STLP_USE_NAMESPACES
  61.  
  62. # ifdef _STLP_BROKEN_USING_DIRECTIVE
  63. using namespace STLPORT;
  64. # else
  65. // Names from stl_algobase.h
  66. using STLPORT::iter_swap; 
  67. using STLPORT::swap; 
  68. using STLPORT::min; 
  69. using STLPORT::max; 
  70. using STLPORT::copy; 
  71. using STLPORT::copy_backward; 
  72. using STLPORT::copy_n; 
  73. using STLPORT::fill; 
  74. using STLPORT::fill_n; 
  75. using STLPORT::mismatch; 
  76. using STLPORT::equal; 
  77. using STLPORT::lexicographical_compare; 
  78. using STLPORT::lexicographical_compare_3way; 
  79.  
  80. // Names from stl_uninitialized.h
  81. using STLPORT::uninitialized_copy;
  82. using STLPORT::uninitialized_copy_n;
  83. using STLPORT::uninitialized_fill;
  84. using STLPORT::uninitialized_fill_n;
  85. # endif /* _STLP_BROKEN_USING_DIRECTIVE */
  86. #endif /* _STLP_USE_NAMESPACES */
  87.  
  88. # if (_STLP_OUTERMOST_HEADER_ID == 0xa002)
  89. #  include <stl/_epilog.h>
  90. #  undef _STLP_OUTERMOST_HEADER_ID
  91. # endif
  92.  
  93. #endif /* _STLP_ALGOBASE_H */
  94.  
  95. // Local Variables:
  96. // mode:C++
  97. // End:
  98.