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

handle direct assignment from primitive types #7

Open
rcorre opened this issue Mar 17, 2015 · 0 comments
Open

handle direct assignment from primitive types #7

rcorre opened this issue Mar 17, 2015 · 0 comments

Comments

@rcorre
Copy link
Owner

rcorre commented Mar 17, 2015

Given the type struct S { float f; }, try to determine wheter an instance of S could be parsed from json of the form {"s": 4.0}.

Consider looking at single-value constructors, opCast, and opAssign.
isAssignable may provide useful info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant