On 11/20/2011 08:02 PM, Paolo Carlini wrote:
.. also, I was under the impression that c++/48322 was the only reason we couldn't write something very simple, thus no __all_convertible, ie, something using directly:enable_if<__and_<is_convertible<_UElements, _Elements>...>::value>::type
Yep, you can do that now.
That would be a great improvement, even if we need to SFINAE separately for equal sizeofs.
You don't need to, you can just drop the sizeof check now. Jason