You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The destructor for the result object is potentially invoked ([class.dtor], [except.ctor]).
[class.dtor] p15
A program is ill-formed if a destructor that is potentially invoked is deleted or not accessible from the context of the invocation.
For [stmt.return] p3, What is the context of the invocation for it?
Infer from the example under [stmt.return] p3, Should it be that?
The destructor for the result object is potentially invoked ([class.dtor], [except.ctor]). In this case, the context of the invocation is the context of the return statement.
The text was updated successfully, but these errors were encountered:
xmh0511
changed the title
[stmt.return] p3 The context of the invocation of the return statement is unspecified
[stmt.return] p3 The context of the invocation of the potentially destructor is unspecified
Aug 18, 2021
xmh0511
changed the title
[stmt.return] p3 The context of the invocation of the potentially destructor is unspecified
[stmt.return] p3 The context of the invocation of the potentially invoked destructor is unspecified
Aug 18, 2021
[stmt.return] p3
[class.dtor] p15
For [stmt.return] p3, What is the context of the invocation for it?
Infer from the example under [stmt.return] p3, Should it be that?
The text was updated successfully, but these errors were encountered: