-
-
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
String
is not a good example of a mutable struct
#29454
Labels
docs
This change adds or pertains to documentation
Comments
Yes, that is really a bad choice for that example. |
There are very few good examples in
Gives back:
So it really looks like |
don-suth
added a commit
to don-suth/julia
that referenced
this issue
Oct 2, 2018
Changed `String` to `BitSet` as a `mutable struct` example.
StefanKarpinski
pushed a commit
that referenced
this issue
Oct 2, 2018
KristofferC
pushed a commit
that referenced
this issue
Oct 6, 2018
KristofferC
pushed a commit
that referenced
this issue
Feb 11, 2019
KristofferC
pushed a commit
that referenced
this issue
Feb 20, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the docs on mapping julia types to C types,
it gives
String
as an example of amutable struct
Which is not really a clear example.
https://github.com/JuliaLang/julia/blob/391f2dd2b5ac67da4a136673b1923d966b606439/doc/src/manual/calling-c-and-fortran-code.md#type-correspondences
The text was updated successfully, but these errors were encountered: