Boost::Bimap equivalent of bidirectional multimap
问题 First part of the question is that I am trying to use boost::bimap, but from the documentation it is unclear to me how to define a bidirectional multimap. The second part of the question is that I need it to be a map in one direction and a multimap in the other direction, can this be done using boost::bimap ? Has anyone experience of this or can point me to the correct page ? 回答1: All is in documentation... http://www.boost.org/doc/libs/1_51_0/libs/bimap/doc/html/boost_bimap/the_tutorial