Open
Description
In some situations there is a need for an associative container in which both types can be used as key, similar to Boost.Bimap for C++. I have such an implementation called BiTable for the project I'm working on and I'm wondering whether there is an interest for something similar in the standard library. If so and if the proposed implementation is considered good enough I will write documentation for it and I will make a pull request.
The interface is based on both Boost.Bimap
(leftView
and rightView
procedures) and Nim's standard library tables
module.
Metadata
Metadata
Assignees
Labels
No labels