Skip to content
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

finish the documentation for implicit casting #1514

Closed
andrewrk opened this issue Sep 13, 2018 · 0 comments
Closed

finish the documentation for implicit casting #1514

andrewrk opened this issue Sep 13, 2018 · 0 comments
Labels
Milestone

Comments

@andrewrk
Copy link
Member

Moved from #367

The docs have a bunch of TODOs:

Implicit Cast: Arrays

TODO: [N]T to []const T

TODO: *const [N]T to []const T

TODO: [N]T to *const []const T

TODO: [N]T to ?[]const T

TODO: *[N]T to []T

TODO: *[N]T to [*]T

TODO: *[N]T to ?[*]T

TODO: *T to *[1]T

TODO: [N]T to E![]const T
Implicit Cast: Optionals

TODO: T to ?T

TODO: T to E!?T

TODO: null to ?T
Implicit Cast: T to E!T

TODO
Implicit Cast: E to E!T

TODO
Implicit Cast: comptime_int to *const integer

TODO
Implicit Cast: comptime_float to *const float

TODO
Implicit Cast: compile-time known numbers

TODO
Implicit Cast: union to enum

TODO
Implicit Cast: enum to union

TODO
Implicit Cast: T to *T when @sizeOf(T) == 0

TODO
Implicit Cast: undefined

TODO
Implicit Cast: T to *const T

TODO
@andrewrk andrewrk added the docs label Sep 13, 2018
@andrewrk andrewrk added this to the 0.4.0 milestone Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant