Ticket #9136: bimap-typo.patch
File bimap-typo.patch, 2.4 KB (added by , 9 years ago) |
---|
-
libs/bimap/doc/rationale.qbk
80 80 Although this seems straightforward, as will be seen later, it is the 81 81 most difficult code hack of the library. It is indeed very easy if we 82 82 relax some of the efficiency constraints. For example, it is trivial if 83 we allow a relation to have greater size than the thesum of those of83 we allow a relation to have greater size than the sum of those of 84 84 its components. It is equally simple if access speed is not important. 85 85 One of the first decisions made about [*Boost.Bimap] was, however, that, in 86 86 order to be useful, it had to achieve zero overhead over the wrapped -
libs/bimap/doc/tutorial.qbk
27 27 bidirectional map. It is possible to control the collection type of each side 28 28 of the relationship that the bimap represents, giving one-to-many 29 29 containers, hashed bidirectional containers and others that may be more 30 suitable to the t he task at hand. The second section30 suitable to the task at hand. The second section 31 31 ([link boost_bimap.the_tutorial.controlling_collection_types Controlling collection types]) 32 32 explains how to instantiate a bimap with different collection constraints. 33 33 … … 85 85 86 86 __STANDARD_MAPPING_FRAMEWORK__ 87 87 88 The left collection type depends on the selected map type. For example if the themap type is `std::multimap` the collection type of X is a `multiset_of`.88 The left collection type depends on the selected map type. For example if the map type is `std::multimap` the collection type of X is a `multiset_of`. 89 89 The following table shows the equivalent types for the std associative containers. 90 90 91 91 [table std associative containers -
libs/bimap/example/tagged_simple_bimap.cpp
65 65 } 66 66 67 67 std::cout << std::endl 68 << "Countries names ordered al fabetically along with"68 << "Countries names ordered alphabetically along with" 69 69 "their final position:" 70 70 << std::endl; 71 71