27 May
2017
27 May
'17
4:53 p.m.
Andrzej Krzemienski wrote:
If they do, you only have a basic guarantee: you can destroy, assign to, or maybe call valueless_by_exception(). Nothing more.
This is not the basic guarantee. It's one step lower than basic and has no name because it deliberately hasn't been named (by Dave Abrahams). (And yes, we had endless debates on this very same topic for std::variant.)