Ticket #9136: bimap-typo.patch

File bimap-typo.patch, 2.4 KB (added by mlang@…, 9 years ago)

The patch.

  • libs/bimap/doc/rationale.qbk

     
    8080Although this seems straightforward, as will be seen later, it is the
    8181most difficult code hack of the library. It is indeed very easy if we
    8282relax some of the efficiency constraints. For example, it is trivial if
    83 we allow a relation to have greater size than the the sum of those of
     83we allow a relation to have greater size than the sum of those of
    8484its components. It is equally simple if access speed is not important.
    8585One of the first decisions made about [*Boost.Bimap] was, however, that, in
    8686order to be useful, it had to achieve zero overhead over the wrapped
  • libs/bimap/doc/tutorial.qbk

     
    2727bidirectional map. It is possible to control the collection type of each side
    2828of the relationship that the bimap represents, giving one-to-many
    2929containers, hashed bidirectional containers and others that may be more
    30 suitable to the the task at hand. The second section
     30suitable to the task at hand. The second section
    3131([link boost_bimap.the_tutorial.controlling_collection_types Controlling collection types])
    3232explains how to instantiate a bimap with different collection constraints.
    3333
     
    8585
    8686__STANDARD_MAPPING_FRAMEWORK__
    8787
    88 The left collection type depends on the selected map type. For example if the the map type is `std::multimap` the collection type of X is a `multiset_of`.
     88The 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`.
    8989The following table shows the equivalent types for the std associative containers.
    9090
    9191[table std associative containers
  • libs/bimap/example/tagged_simple_bimap.cpp

     
    6565    }
    6666
    6767    std::cout << std::endl
    68               << "Countries names ordered alfabetically along with"
     68              << "Countries names ordered alphabetically along with"
    6969                 "their final position:"
    7070              << std::endl;
    7171