set 1018 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Filename: set
  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 SET_H
  10. #define SET_H
  11. #include <stdtypedefs.h>
  12. class default_set_compare;
  13. template<class key, class compare = default_set_compare>
  14. class set {
  15. public:
  16. typedef key key_type;
  17. typedef key value_type;
  18. typedef compare key_compare;
  19. typedef compare value_compare;
  20. typedef key *pointer;
  21. typedef const key *const_pointer;
  22. typedef key &reference;
  23. typedef const key &const_reference;
  24. class iterator;
  25. class const_iterator;
  26. class reverse_iterator;
  27. class const_reverse_iterator;
  28. typedef size_t size_type;
  29. class difference_type;
  30. };
  31. template<class key, class compare = default_set_compare>
  32. class multiset : public set<key, compare> {
  33. };
  34. #endif