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

Rewrite old tag dispatching switch to use XTL generalization #8

Open
solodon4 opened this issue Nov 8, 2014 · 0 comments
Open

Rewrite old tag dispatching switch to use XTL generalization #8

solodon4 opened this issue Nov 8, 2014 · 0 comments
Assignees

Comments

@solodon4
Copy link
Owner

solodon4 commented Nov 8, 2014

We have a set of macros implement matching in those cases where we rely on tags instead of RTTI. We can let the user express relation between his tagged classes using XTL primitive and see if it would fit in the same way boost::variant did. The only problem I can immediately see is the substitutability loop that was iterating over base tags, but maybe we don't need it.

@solodon4 solodon4 self-assigned this Dec 17, 2014
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