Boost logo

Boost :

Subject: Re: [boost] Outcome v2 is feature complete
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2017-07-11 15:25:02


>> 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.

That's surprising. They're a very obvious thing to propose, not such an
obvious thing to reject.

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk