3 ms·
This point of failure is exactly why exceptions were invented in C++, with low overhead for hot paths. Initialization for out parameters does not matter. In C+
by AstralStorm 9y ago
This point of failure is exactly why exceptions were invented in C++, with low overhead for hot paths.
Initialization for out parameters does not matter. In C++ you'd return a tuple or structure or class instead of having multiple return values.
It does complicate ABI some.