We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there a particular reason this method was omitted?
The text was updated successfully, but these errors were encountered:
Yes because it can't be copied. #15675
Sorry, something went wrong.
As mentioned in the linked issue, this is inconsistent. copy(5.3) works, and it's puzzling to have to do, e.g.,
copy(5.3)
copy(g::T) where T <: AbstractMetaGraph = T( copy(g.graph), copy(g.vprops), copy(g.eprops), copy(g.gprops), g.weightfield, copy(g.defaultweight) )
Edited: I guess I can just use deepcopy for this.
deepcopy
Generally a copy method for a (mutable) container should only copy the container structure, and not values inside.
copy
No branches or pull requests
Is there a particular reason this method was omitted?
The text was updated successfully, but these errors were encountered: