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

Remove view and iterator support if exceptions are not used #26

Open
vvish opened this issue Apr 17, 2024 · 0 comments
Open

Remove view and iterator support if exceptions are not used #26

vvish opened this issue Apr 17, 2024 · 0 comments
Labels
task Issue is a task

Comments

@vvish
Copy link
Owner

vvish commented Apr 17, 2024

As there is no generic way to propagate error from standard algorithms and views, usage of custom input iterators that can fail can be unsafe.

It is required to enable methods returning views conditionally, if exceptions are used.
If exceptions are not used method template receiving functor can be used instead ( tx.iterate_by_key(key, print_item); ).

The task is dependent on #9

@vvish vvish added the task Issue is a task label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Issue is a task
Projects
None yet
Development

No branches or pull requests

1 participant