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