-
Notifications
You must be signed in to change notification settings - Fork 0
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
string_view::remove_prefix(npos) #10
Comments
I'm confused. Are you asking for "consistent undefined behavior"? |
Maybe |
The whole point of undefined behavior is that you have no guarantees - of anything. The C people used to say "and demons will fly out of my nose". You can run a program with UB twice in a row on the same machine with the same inputs, and once it might give you the right answer, and the second time it might cause your cat to become pregnant. |
I know. The problem is that |
Undefined behavior for std, defined behavior for Boost.
Wouldn't it be better to have the same behavior for both?
The text was updated successfully, but these errors were encountered: