added missing inline and std::
Bimap re-implementation