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

Add a family of builder methods to create an ArcStr using a callback #56

Merged
merged 1 commit into from
May 7, 2024

Conversation

thomcc
Copy link
Owner

@thomcc thomcc commented May 6, 2024

Fixes #36

@thomcc
Copy link
Owner Author

thomcc commented May 6, 2024

This adds try_build_unchecked, build_unchecked, and build. In theory I could write a try_build for the case where you don't care that much about performance but do want to handle allocation error, but it seems a bit pointless so I left it out.

@thomcc thomcc merged commit 47747d5 into main May 7, 2024
23 checks passed
@thomcc thomcc deleted the build branch May 7, 2024 00:01
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

Successfully merging this pull request may close these issues.

Feature Request: construction in-place
1 participant