27 May
2017
27 May
'17
5:25 p.m.
Andrzej Krzemienski wrote:
How come? I thought bsic guarantee menas I just should be able to safely destroy it without UB or resource leaks, and perhaps to reset it. How does the above not meet these guarantees?
No. Basic means you can safely use the object. It's in an unspecified state, but it's usable. Same as move - unspecified, but valid. Destroy-only is a completely different animal.