Unify special cases for reference/recursive_wrapper
Opened this issue · 0 comments
joto commented
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()
.