]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/ptr_container/doc/ptr_multimap.rst
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / ptr_container / doc / ptr_multimap.rst
1 ++++++++++++++++++++++++++++++++++
2 |Boost| Pointer Container Library
3 ++++++++++++++++++++++++++++++++++
4
5 .. |Boost| image:: boost.png
6
7 Class ``ptr_multimap``
8 ----------------------
9
10 A ``ptr_multimap<Key,T>`` is a pointer container that uses an underlying ``std::multimap<Key,void*>``
11 to store the pointers.
12
13
14 **Hierarchy:**
15
16 - `reversible_ptr_container <reversible_ptr_container.html>`_
17
18 - `associative_ptr_container <associative_ptr_container.html>`_
19
20 - `ptr_set_adapter <ptr_set_adapter.html>`_
21 - `ptr_multiset_adapter <ptr_multiset_adapter.html>`_
22 - `ptr_map_adapter <ptr_map_adapter.html>`_
23 - `ptr_multi_map_adapter <ptr_multimap_adapter.html>`_
24
25 - `ptr_set <ptr_set.html>`_
26 - `ptr_multi_set <ptr_multiset.html>`_
27 - `ptr_map <ptr_map.html>`_
28 - ``ptr_multimap``
29
30 **Navigate:**
31
32 - `home <ptr_container.html>`_
33 - `reference <reference.html>`_
34
35 .. _reversible_ptr_container: reversible_ptr_container.html
36 .. _associative_ptr_container: associative_ptr_container.html
37 .. _ptr_multimap_adapter: ptr_multimap_adapter.html
38
39
40
41 **Synopsis:**
42
43 .. parsed-literal::
44
45
46 namespace boost
47 {
48 template
49 <
50 class Key,
51 class T,
52 class Compare = std::less<Key>,
53 class CloneAllocator = heap_clone_allocator,
54 class Allocator = std::allocator< std::pair<const Key,void*> >
55 >
56 class ptr_multimap : public ptr_multimap_adapter
57 <
58 T,
59 std::multimap<Key,void*,Compare,Allocator>,
60 CloneAllocator
61 >
62 {
63 // see references
64
65 }; // class 'ptr_multimap'
66
67 } // namespace 'boost'
68
69
70 :Copyright: Thorsten Ottosen 2004-2006. Use, modification and distribution is subject to the Boost Software License, Version 1.0 (see LICENSE_1_0.txt__).
71
72 __ http://www.boost.org/LICENSE_1_0.txt
73
74