-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Support copying from standard-library containers with contiguous storage #606
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment (on the development branch), when one wants to copy from or to a standard library container with contiguous storage, e.g. a vector, one has to use the
.data()
method (or.begin()
iterator), and actually copy to a pointer. This is both a bit verbose, and sometimes requires that one also specify the size as an argument, which is slightly more error prone. It would be nice if we could say:The text was updated successfully, but these errors were encountered: