ptr_multimap.rst 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. ++++++++++++++++++++++++++++++++++
  2. |Boost| Pointer Container Library
  3. ++++++++++++++++++++++++++++++++++
  4. .. |Boost| image:: boost.png
  5. Class ``ptr_multimap``
  6. ----------------------
  7. A ``ptr_multimap<Key,T>`` is a pointer container that uses an underlying ``std::multimap<Key,void*>``
  8. to store the pointers.
  9. **Hierarchy:**
  10. - `reversible_ptr_container <reversible_ptr_container.html>`_
  11. - `associative_ptr_container <associative_ptr_container.html>`_
  12. - `ptr_set_adapter <ptr_set_adapter.html>`_
  13. - `ptr_multiset_adapter <ptr_multiset_adapter.html>`_
  14. - `ptr_map_adapter <ptr_map_adapter.html>`_
  15. - `ptr_multi_map_adapter <ptr_multimap_adapter.html>`_
  16. - `ptr_set <ptr_set.html>`_
  17. - `ptr_multi_set <ptr_multiset.html>`_
  18. - `ptr_map <ptr_map.html>`_
  19. - ``ptr_multimap``
  20. **Navigate:**
  21. - `home <ptr_container.html>`_
  22. - `reference <reference.html>`_
  23. .. _reversible_ptr_container: reversible_ptr_container.html
  24. .. _associative_ptr_container: associative_ptr_container.html
  25. .. _ptr_multimap_adapter: ptr_multimap_adapter.html
  26. **Synopsis:**
  27. .. parsed-literal::
  28. namespace boost
  29. {
  30. template
  31. <
  32. class Key,
  33. class T,
  34. class Compare = std::less<Key>,
  35. class CloneAllocator = heap_clone_allocator,
  36. class Allocator = std::allocator< std::pair<const Key,void*> >
  37. >
  38. class ptr_multimap : public ptr_multimap_adapter
  39. <
  40. T,
  41. std::multimap<Key,void*,Compare,Allocator>,
  42. CloneAllocator
  43. >
  44. {
  45. // see references
  46. }; // class 'ptr_multimap'
  47. } // namespace 'boost'
  48. :Copyright: Thorsten Ottosen 2004-2006. Use, modification and distribution is subject to the Boost Software License, Version 1.0 (see LICENSE_1_0.txt__).
  49. __ http://www.boost.org/LICENSE_1_0.txt