-
Notifications
You must be signed in to change notification settings - Fork 34
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 default index 0 for ByteAddressBuffer::Load #13
base: main
Are you sure you want to change the base?
Conversation
I think we need to work through and flesh out some wording here. I think I understand the use case and I like it. Instead of adding a default parameter, I'd suggest adding a new API that takes no parameters and call the old API with |
Will this work?
|
I feel like |
How about loadAs? |
Why not just
Seems to be consistent with other builtin APIs and provide the desired behavior? |
If the name is still Load, I would like to make it a default parameter 0 instead of adding a new overload when implementing. |
No description provided.