Efficient, DRY bi-directional lookup in both python and C++
Efficient, DRY bi-directional lookup in both python and C++ Question: In our workflow, we have a few tables of integer ID <-> string name mappings (e.g., status/error codes, hardware IDs, etc.). We are trying to find the best way to write a bidirectional lookup library for these values in both C++ and python. The interfaces …