$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [bimap] Look ups on the vector_of collection type
From: Arindam Mukherjee (arindam.mukerjee_at_[hidden])
Date: 2014-10-05 06:05:01
Would it make sense to define a bimap like this:
boost::bimap< boost::bimaps::set_of<std::string>,
boost::bimaps::vector_of<std::string>> mymap;
And then make the right view (vector_of) more amenable to lookups by
performing a sort followed by a binary search on it?
Thanks.