3 ms·
How exactly do you return a null object by value? I know about RVO, but that's irrelevant here because a factory function returning an object by value does not
by brigade 5y ago
How exactly do you return a null object by value?
I know about RVO, but that's irrelevant here because a factory function returning an object by value does nothing to avoid needing to throw exceptions if construction fails.