5 Copyright (c) 2006-2007 Matias Capeletto
7 Distributed under the Boost Software License, Version 1.0.
8 (See accompanying file LICENSE_1_0.txt or copy at
9 http://www.boost.org/LICENSE_1_0.txt)
13 [/ QuickBook Document version 1.4 ]
15 [section unconstrained_set_of Reference]
17 [section Header "boost/bimap/unconstrained_set_of.hpp" synopsis]
23 template< class KeyType >
24 struct unconstrained_set_of;
26 struct unconstrained_set_of_relation;
34 [section unconstrained_set_of Views]
36 An unconstrained_set_of set view is a view with no constraints. The use
37 of these kind of view boost the bimap performance but the view can not
38 be accessed. An unconstrained view is an empty class.
44 template< ``['-implementation defined parameter list-]`` >
45 class ``['-implementation defined view name-]``
56 In the case of a `bimap< unconstrained_set_of<Left>, ... >`
60 typedef signature-compatible with relation< Left, ... > key_type;
61 typedef signature-compatible with relation< Left, ... > value_type;
65 typedef Left key_type;
66 typedef ... mapped_type;
68 typedef signature-compatible with std::pair< Left, ... > value_type;
70 In the right map view:
73 typedef Left mapped_type;
75 typedef signature-compatible with std::pair< ... , Left > value_type;
79 [#unconstrained_set_of_complexity_signature]
81 [section Complexity signature]
83 We adopt the scheme outlined in the
84 [link complexity_signature_explanation complexity signature section].
85 An unconstrained view can not be accessed by the user, but the
86 formulas to find the order of an operation for a bimap hold with
87 the following definitions.
88 The complexity signature of a `unconstrained_set_of` view is:
91 * insertion: `i(n) = 0`
92 * hinted insertion: `h(n) = 0`
93 * deletion: `d(n) = 0`
94 * replacement: `r(n) = 0`
95 * modifying: `m(n) = 0`
99 [section Serialization]
101 Views cannot be serialized on their own, but only as part of the
102 `bimap` into which they are embedded. In describing the additional
103 preconditions and guarantees associated to `list_of` views with respect to
104 serialization of their embedding containers, we use the concepts defined in the
105 `bimap` serialization section.
107 [blurb [*Operation:] saving of a `bimap` b to an output archive
110 * [*Requires:] No additional requirements to those imposed by the container.
112 [blurb [*Operation:] loading of a `bimap` b' from an input archive
115 * [*Requires:] No additional requirements to those imposed by the container.