9 Dec
2013
9 Dec
'13
12:02 p.m.
Antony Polukhin вроте:
However this: * breaks ABI (now variant is declared as `template <typename T0, typename... TN> class variant`)
Why not just template<class... TN> class variant? It's true that the degenerate case of variant<> isn't particularly useful, but then again, neither is the singular case of variant<X>. Is there a good reason to prohibit variant<>?