iterator 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. #ifndef _STLP_ITERATOR
  26. #ifndef _STLP_OUTERMOST_HEADER_ID
  27. # define _STLP_OUTERMOST_HEADER_ID 0x38
  28. # include <stl/_prolog.h>
  29. # define _STLP_ITERATOR
  30. #endif
  31. #if (_STLP_OUTERMOST_HEADER_ID == 0x38)
  32. # ifndef _STLP_INTERNAL_ITERATOR_H
  33. # include <stl/_iterator.h>
  34. # endif
  35. # ifndef _STLP_INTERNAL_STREAM_ITERATOR_H
  36. # include <stl/_stream_iterator.h>
  37. # endif
  38. #endif
  39. #if (_STLP_OUTERMOST_HEADER_ID != 0x38) || defined (_STLP_IMPORT_VENDOR_STD)
  40. # if defined (_STLP_HAS_INCLUDE_NEXT)
  41. # include_next <iterator>
  42. # else
  43. # include _STLP_NATIVE_HEADER(iterator)
  44. # endif
  45. #endif
  46. #if (_STLP_OUTERMOST_HEADER_ID == 0x38)
  47. # include <stl/_epilog.h>
  48. # undef _STLP_OUTERMOST_HEADER_ID
  49. #endif
  50. #endif /* _STLP_ITERATOR */
  51. // Local Variables:
  52. // mode:C++
  53. // End: