Comment by QuercusMax
3 hours ago
One reasonably common pattern is to have the return value indicate success / error, and you pass in a pointer to the value which will be mutated if successful.
3 hours ago
One reasonably common pattern is to have the return value indicate success / error, and you pass in a pointer to the value which will be mutated if successful.
No comments yet
Contribute on Hacker News ↗