deque 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Filename: deque
  2. // Created by: drose (12May00)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. //
  6. // PANDA 3D SOFTWARE
  7. // Copyright (c) Carnegie Mellon University. All rights reserved.
  8. //
  9. // All use of this software is subject to the terms of the revised BSD
  10. // license. You should have received a copy of this license along
  11. // with this source code in a file named "LICENSE."
  12. //
  13. ////////////////////////////////////////////////////////////////////
  14. // This file, and all the other files in this directory, aren't
  15. // intended to be compiled--they're just parsed by CPPParser (and
  16. // interrogate) in lieu of the actual system headers, to generate the
  17. // interrogate database.
  18. #ifndef DEQUE_H
  19. #define DEQUE_H
  20. #include <stdtypedefs.h>
  21. template<class element>
  22. class deque {
  23. public:
  24. typedef element value_type;
  25. typedef element *pointer;
  26. typedef const element *const_pointer;
  27. typedef element &reference;
  28. typedef const element &const_reference;
  29. typedef pointer iterator;
  30. typedef const_pointer const_iterator;
  31. class reverse_iterator;
  32. class const_reverse_iterator;
  33. typedef size_t difference_type;
  34. typedef size_t size_type;
  35. };
  36. #endif