2 Jul
2015
2 Jul
'15
6:39 p.m.
On Sun, Jun 28, 2015 at 4:38 AM, Vicente J. Botet Escriba
The abstractions I built on top of it might, since they are the ones who attach meaning to the variant, but it is up to them to make those choices. Likewise, I'm not considering implementing support for void and reference types as alternatives.
Could you tell us more about the rationale? it is because some wrappers as void_t and reference_wrapper<T> can be used instead?
reference_wrapper<T> can be used by the client, if that is what the client wants. But reference_wrapper<T> doesn't work the same as T &, so it shouldn't be used by variant to handle references. Tony