-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
move Future.copy!
to Base
#29173
Comments
We just need to move |
Oops, sorry I missed that. So this is according to plan and the docs just updated faster than the actual stuff? Close issue as PEBCAK, or move |
I mean... the docs are not wrong, they don't say this works for vectors. Its just not yet implemented for vectors. |
I think we can move |
I thought so, but 1.0 was out before I had time to ask whether it should go into 1.0 or 1.1 ;-) |
Well, sounds convenient for a preallocated
dst::Vector{T}, src::AbstractVector{T}
. Alas,I guess the docs went out of sync and
copy!
was deprecated for( length(dst)==length(src) || resize!(dst, length(src)) ); copyto!(dst, src)
at some point? I'm not sure whether the documented functionality really needs to exist, but either way, reality and doc should match.For the next release, if
copy!
does not come back, can we rename the othercopy!
methods to something less prominent then? TheBitSet!
copy!
probably needs to stay for now, since it is in base and would be breaking?The text was updated successfully, but these errors were encountered: