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
No, prvalues aren't materialized objects. We really do want a glvalue here, and that will necessitate materialization [conv.rval].
That doesn't make any sense to me It would be much easier to understand what you said with something like this: For the first option (dot) the compiler requires a glvalue. But it will implicitly convert a prvalue into an xvalue by [conv.rval].
[expr.ref]/2
We should replace the "glvalue having class type" above by "glvalue or prvalue having class type", otherwise the snippet below would be invalid.
The text was updated successfully, but these errors were encountered: