Ovanes Markarian ha escrito:
Hello all,
Currently I have an opportunity to use boost::bimap in my project. I was really intrigued by the docs and features the library offers, so I used the review version from the vault. The translator example is that what I need in my project, but unfortunately I can not compile it. Possibly because I use the CVS head revision which might be broken.
The errors I get are following:
error C2661: 'boost::bimap::container_adaptor::sequence_container_adaptor
::insert' : no overloaded function takes 1 arguments
[...]
There is also some error in the docs for Mighty Bimap: (http://cablemodem.fibertel.com.ar/mcape/boost/libs/bimap/boost_bimap/example...)
.... typedef translator_bimap::relation translation; translator_bimap translator; ....
iterator_type_by
::type is = map_by<spanish>(d).find(word); ^^^error I think d should be 'translator'
Hello Ovanes, I think both problems are mere typos in the example code, please take a look at http://lists.boost.org/Archives/boost/2007/02/116985.php to see if it helps. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo