C++ copy constructor and elision
Lets say we have a file class object with a file buffer, like so: This is not an uncommon pattern. Now, what do we need to do, if somewhere we’ve created a function like this? […]
Lets say we have a file class object with a file buffer, like so: This is not an uncommon pattern. Now, what do we need to do, if somewhere we’ve created a function like this? […]