I have a bimap. I want to check if key exists in my bimap. How can i do that. Here is my bimap:
namespace bimap
{
struct Name{};
struct ID{};
typedef
boost::bimaps::bimap<
boost::bimaps::set_of<
boost::bimaps::tagged<
unsigned short
, ID
>
>,
boost::bimaps::set_of<
boost::bimaps::tagged<
std::string
, Name
>
>
>
name_index_bimap;
}
I want to check if 'Name' is exists.