A moved C++ container and MSVC++

Pages: 12
Jun 19, 2022 at 4:51pm
This is my take on 'valid but unspecified state':

valid: operations that never have any preconditions can be used. Destruction never has any precondition, assignment and const-qualified observers (eg. size()) should be safely callable (even though eg. size() may return an unspecified value).

unspecified: operations that do have some preconditions (eg. pop()) should not used.
Last edited on Jun 19, 2022 at 4:51pm
Topic archived. No new replies allowed.
Pages: 12