11 Jul
2017
11 Jul
'17
3:11 p.m.
Niall Douglas wrote:
But countering it, the syntax is unfortunately similar to aggregate initialisation which is probably why std::variant doesn't allow it. I'd be interested if someone from WG21 could tell us actually.
I don't remember variant ever having such constructors proposed, but I may be misremembering.