-
Notifications
You must be signed in to change notification settings - Fork 159
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
Is there a x3::position_tagged
without inheritance?
#698
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi everyone! Is it possible to add the
x3::position_tagged
attribute to a custom structure without applying inheritance? If it's not possible, it question should resolve, because in the future BOOST PFR library maybe will be used on the Spirit side (The corresponding PR has already been created in the neighboring Fusion repository)Recall that the pfr library is not able to work with inherited structures, the presence of inheritance for this library is not acceptable.
If this issue has not been resolved yet, I suggest solving it using composition instead of inheritance:
The text was updated successfully, but these errors were encountered: