Replies: 1 comment 2 replies
-
This lowers to a constructor and assignment so its not too surprising that would fail to compile. You can't re-assign const members in C++. AFAIK there is no way to only define a constructor in cpp2. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I get error
for
complete example
Beta Was this translation helpful? Give feedback.
All reactions