Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ForwardingBiMap is absent #3906

Open
lowasser opened this issue May 18, 2020 · 1 comment
Open

ForwardingBiMap is absent #3906

lowasser opened this issue May 18, 2020 · 1 comment

Comments

@lowasser
Copy link
Contributor

There is a Forwarding variant for every other interface, as far as I can tell, but not ForwardingBiMap. This just came up on StackOverflow.

@lowasser
Copy link
Contributor Author

ForwardingBiMap in particular may be tricky because almost any change to it requires nontrivial implementation work on its inverse() view as well, which may just mean that it's no easier to use a hypothetical ForwardingBiMap than to extend ForwardingMap and implement BiMap.

I'm not sure what the best way to document this is, though, or even if the best solution is to just make ForwardingBiMap add no additional implementations to ForwardingMap, just exist as an alias to document what special work you need to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants