4 ms·
I will often have functions that accept a unique_ptr as a parameter. This way, I can clearly encode that the object belongs to the callee now.
by MereInterest 10y ago
I will often have functions that accept a unique_ptr as a parameter. This way, I can clearly encode that the object belongs to the callee now.