1 Jun
2017
1 Jun
'17
5:47 p.m.
Robert Ramey wrote:
Right - so isn't variant the place to "fix" it? if outcome, expected, optional ... need a never-empty guarantee, should variant (std, boost, whatever) have that guarantee as well? Shouldn't these discussions take place in the context of variant?
There were prolonged and furious debates on this topic while std::variant was getting standardized, and the side who wanted a never-valueless variant (that would be me) lost.