stack 792 B

12345678910111213141516171819202122232425262728293031323334
  1. // Filename: stack
  2. // Created by: drose (12May00)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. // This file, and all the other files in this directory, aren't
  6. // intended to be compiled--they're just parsed by CPPParser (and
  7. // interrogate) in lieu of the actual system headers, to generate the
  8. // interrogate database.
  9. #ifndef STACK_H
  10. #define STACK_H
  11. #include <stdtypedefs.h>
  12. template<class element>
  13. class stack {
  14. public:
  15. typedef element value_type;
  16. typedef element *pointer;
  17. typedef const element *const_pointer;
  18. typedef element &reference;
  19. typedef const element &const_reference;
  20. class iterator;
  21. class const_iterator;
  22. class reverse_iterator;
  23. class const_reverse_iterator;
  24. typedef size_t size_type;
  25. class difference_type;
  26. };
  27. #endif