-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
unique_region_t move constructor and assigment operator doesn't compile #713
Labels
Comments
Indeed, one of the flaws of this library is that it doesn't have decent unit test coverage; and the examples aren't a good enough proxy for that; and some templated code doesn't necessarily get instantiated. This is also the reason I am reluctant to publish a "1.0" version. Thanks for the catch, I'm going to check out the PR later today. |
eyalroz
added a commit
that referenced
this issue
Feb 14, 2025
* The `reset()` method now passes a pointer, rather than a region, to the deleter * Now using `get_deleter()` in the destructor as well * Comment corrections and deletions
eyalroz
added a commit
that referenced
this issue
Feb 14, 2025
* The `reset()` method now passes a pointer, rather than a region, to the deleter * Now using `get_deleter()` in the destructor as well * Comment corrections and deletions Thanks goes to GitHub user @ralwing for catching the bug and proposing the fix.
eyalroz
added a commit
that referenced
this issue
Feb 14, 2025
* The `reset()` method now passes a pointer, rather than a region, to the deleter * Now using `get_deleter()` in the destructor as well * Comment corrections and deletions * Added an instantiation of `unique_region` to the `new_cpp_standard` example program Thanks goes to GitHub user @ralwing for catching the bug and proposing the fix.
eyalroz
added a commit
that referenced
this issue
Feb 16, 2025
* The `reset()` method now passes a pointer, rather than a region, to the deleter * Now using `get_deleter()` in the destructor as well * Comment corrections and deletions * Added an instantiation of `unique_region` to the `new_cpp_standard` example program Thanks goes to GitHub user @ralwing for catching the bug and proposing the fix.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The code:
Doesn't compile.
It seems like the reset function is never used in the examples code.
I'll provide a PR to fix this.
The text was updated successfully, but these errors were encountered: