All Questions
Tagged with lvalue-to-rvalue copy-constructor
1 question
0
votes
1
answer
275
views
Lvalue-to-rvalue conversion for class types: is there copying involved?
(I asked this question before but didn't give a viable example so I deleted previous one. I hope on this one I got the example right.)
Case:
#include <iostream>
struct S
{
S() = default;
...