-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
{} uses copy constructor, while = does not #805
Comments
Could you paste the complete error output? Knowing where the copy happens would help a lot :) |
Xcode:
|
Oops, missing forwarding references it seems |
Aha? I have no idea how to fix this. |
I'll fix it by tonight, if there is no surprises with |
Thanks a lot! I have no time right now to wrap my head around this... |
@jllansford PR #807 fixed the issue. Could you please check if this works for you? |
I've been away for a few days but got around to testing the fix today and it works great. Thanks for the prompt reply and fix. |
Just a little annoyance I encountered while writing to_json functions for a large number of in house classes. Ideally I'd like it if the {} operator behaved the same as the = operator.
Given the following code:
The text was updated successfully, but these errors were encountered: