bidirectional map

Hi.

Is there anywhere on the LLVM code base a reusable bidirectional map similar to or better than http://www.boost.org/doc/libs/1_66_0/libs/bimap/doc/html/index.html?

I need one and don’t want to reinvent the wheel.

Both keys are enums.

Thanks,

Dvir

I think not according to [1]. You can double check include/llvm/ADT.

[1] http://llvm.org/docs/ProgrammersManual.html#map-like-containers-std-map-densemap-etc