home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / stlpt453.zip / STLport-4.5.3 / stlport / old_hp / function.h < prev    next >
C/C++ Source or Header  |  2001-01-26  |  3KB  |  127 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_FUNCTION_H
  27. #define _STLP_FUNCTION_H
  28.  
  29. # ifndef _STLP_OUTERMOST_HEADER_ID
  30. #  define _STLP_OUTERMOST_HEADER_ID 0xa008
  31. #  include <stl/_prolog.h>
  32. # endif
  33.  
  34. #ifndef _STLP_CSTDDEF
  35. # include <cstddef>
  36. #endif
  37.  
  38. #ifndef _STLP_INTERNAL_ALGOBASE_H
  39. #include <stl/_algobase.h>
  40. #endif
  41.  
  42. #ifndef _STLP_INTERNAL_FUNCTION_H
  43. #include <stl/_function.h>
  44. #endif
  45.  
  46. #ifdef _STLP_USE_NAMESPACES
  47.  
  48. # ifdef _STLP_BROKEN_USING_DIRECTIVE
  49. using namespace STLPORT;
  50. #ifndef _STLP_NO_RELOPS_NAMESPACE
  51. using namespace STLPORT_RELOPS;
  52. #endif /* _STLP_USE_NAMESPACE_FOR_RELOPS */
  53.  
  54. # else /* _STLP_BROKEN_USING_DIRECTIVE */
  55.  
  56. // Names from stl_function.h
  57. using _STLP_STD::unary_function; 
  58. using _STLP_STD::binary_function; 
  59. using _STLP_STD::plus; 
  60. using _STLP_STD::minus; 
  61. using _STLP_STD::multiplies; 
  62. using _STLP_STD::divides; 
  63. using _STLP_STD::identity_element; 
  64. using _STLP_STD::modulus; 
  65. using _STLP_STD::negate; 
  66. using _STLP_STD::equal_to; 
  67. using _STLP_STD::not_equal_to; 
  68. using _STLP_STD::greater; 
  69. using _STLP_STD::less; 
  70. using _STLP_STD::greater_equal; 
  71. using _STLP_STD::less_equal; 
  72. using _STLP_STD::logical_and; 
  73. using _STLP_STD::logical_or; 
  74. using _STLP_STD::logical_not; 
  75. using _STLP_STD::unary_negate; 
  76. using _STLP_STD::binary_negate; 
  77. using _STLP_STD::not1; 
  78. using _STLP_STD::not2; 
  79. using _STLP_STD::binder1st; 
  80. using _STLP_STD::binder2nd; 
  81. using _STLP_STD::bind1st; 
  82. using _STLP_STD::bind2nd; 
  83. using _STLP_STD::unary_compose; 
  84. using _STLP_STD::binary_compose; 
  85. using _STLP_STD::compose1; 
  86. using _STLP_STD::compose2; 
  87. using _STLP_STD::pointer_to_unary_function; 
  88. using _STLP_STD::pointer_to_binary_function; 
  89. using _STLP_STD::ptr_fun; 
  90. using _STLP_STD::identity; 
  91. using _STLP_STD::select1st; 
  92. using _STLP_STD::select2nd; 
  93. using _STLP_STD::project1st; 
  94. using _STLP_STD::project2nd; 
  95. using _STLP_STD::constant_void_fun; 
  96. using _STLP_STD::constant_unary_fun; 
  97. using _STLP_STD::constant_binary_fun; 
  98. using _STLP_STD::constant0; 
  99. using _STLP_STD::constant1; 
  100. using _STLP_STD::constant2; 
  101. using _STLP_STD::subtractive_rng; 
  102. using _STLP_STD::mem_fun_t; 
  103. using _STLP_STD::const_mem_fun_t; 
  104. using _STLP_STD::mem_fun_ref_t; 
  105. using _STLP_STD::const_mem_fun_ref_t; 
  106. using _STLP_STD::mem_fun1_t; 
  107. using _STLP_STD::const_mem_fun1_t; 
  108. using _STLP_STD::mem_fun1_ref_t; 
  109. using _STLP_STD::const_mem_fun1_ref_t; 
  110. using _STLP_STD::mem_fun; 
  111. using _STLP_STD::mem_fun_ref; 
  112. using _STLP_STD::mem_fun1; 
  113. using _STLP_STD::mem_fun1_ref; 
  114. # endif
  115. #endif /* _STLP_USE_NAMESPACES */
  116.  
  117. # if (_STLP_OUTERMOST_HEADER_ID == 0xa008)
  118. #  include <stl/_epilog.h>
  119. #  undef _STLP_OUTERMOST_HEADER_ID
  120. # endif
  121.  
  122. #endif /* _STLP_FUNCTION_H */
  123.  
  124. // Local Variables:
  125. // mode:C++
  126. // End:
  127.