3 ms·
> as it avoids having to check for nullptr Which is nice, but the real problem always are invalid references/pointers. Which you can't check with a simple ` ==
by ReleaseCandidat 5y ago
> as it avoids having to check for nullptr
Which is nice, but the real problem always are invalid references/pointers. Which you can't check with a simple ` == nullptr`. So, if an error occurred the reference could be in any state instead of a `0`, which can easily be checked.