-
-
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
constructors cint
, cshort
, clong
, etc
#6530
Comments
Oh! I'm retarded, it can just be a convert call. Well, now I know how to write it, would people be open to these? |
Basically a dup of #1470. You can also call |
Ah, I see. It looks like this could be handled in your latest proposal over there, I'll wait to see how that plays out. |
the |
Implemented by #8712 |
It would be really nice to have these, imo.
Does anyone know of a clever way to programmatically determine which constructor to use based on just type info? Right now I've got some hacky stuff like this:
The text was updated successfully, but these errors were encountered: