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

Unify special cases for reference/recursive_wrapper #83

Open
joto opened this issue Jan 29, 2016 · 0 comments
Open

Unify special cases for reference/recursive_wrapper #83

joto opened this issue Jan 29, 2016 · 0 comments

Comments

@joto
Copy link
Contributor

joto commented Jan 29, 2016

There are special cases for std::reference_wrapper and recursive_wrapper in two places. One is in the get() call, the other in unwrapper helper class used by the visitor apply functions. This looks to me like there should be a way to unify this code, so that there is only once place that has the special code used by get() and apply_visitor().

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

No branches or pull requests

1 participant