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 exceptions from containers #40

Open
seanbaxter opened this issue Sep 10, 2024 · 0 comments
Open

Remove exceptions from containers #40

seanbaxter opened this issue Sep 10, 2024 · 0 comments

Comments

@seanbaxter
Copy link
Collaborator

Remove exceptions from safe containers and make out-of-memory a panic. We can use new (std::nothrow) to avoid throws.

Compiler: Replace noexcept with nothrow specifier. That will be ill-formed when there's any cleanup path out of a function. We want to minimize cleanup paths in advance of relocation through references.

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

No branches or pull requests

1 participant