[boost] [bimap] New Version
Hello boost, I have released a new version of the Boost.Bimap. The main attraction of this new release is the possibility to add information about each relation. I have been working very hard to ensure that Bimap works well with the others boost libraries. I have added new sections to the "Bimap and Boost" docs to show how to combine them. For example, from Bimap and Boost.Foreach: ------------------------------------------------------------------------------------------------------ typedef bimap< int, string > bm_type; bm_type bm; assign::insert( bm ) (1,"one") (2,"two") (3,"three"); BOOST_FOREACH( bm_type::right_const_reference p, bm.right ) { std::cout << p.first << " ---> " << p.second << std::endl; } ------------------------------------------------------------------------------------------------------ prints: ------------------------------------------------------------------------------------------------------ one ---> 1 three ---> 3 two ---> 2 ------------------------------------------------------------------------------------------------------ ================================================== I really need feedback! ================================================== If you are using this library please send me your comments (if you want by private email: matias <dot> capeletto <at> gmail <dot> com ) Library sources are in the vault: ---------------------------------------------------------------------------------------------------- http://tinyurl.com/2t8c87 Documentation can be viewed online here: ---------------------------------------------------------------------------------------------------- http://tinyurl.com/22sja5 Or can be downloaded from: ---------------------------------------------------------------------------------------------------- http://tinyurl.com/22jfdf Main changes ---------------------------------------------------------------------------------------------------- Lib: * Added support for information about the relations * Added range_type and const_range_type typedef to indexed views * Change the way you tag the collections. * hard implementation decision * Some small bug fixes Docs: * New relation and pair layout diagram * New section: Additional information * More examples in Bimap and Boost * New section: Bimap and Boost.Xpressive * New section: Bimap and Boost.Typeof * New section: Bimap and Boost.Foreach * Update the reference Comments are welcome Best regards Matias
participants (1)
-
Matias Capeletto