3 ms·
This is hard to do in C/C++: int val; if (do_something(&val)) { ... } Is val initialized or not? Note that passing in addresses of values is the standar
by jcranmer 8y ago
This is hard to do in C/C++:
int val;
if (do_something(&val)) { ... }
Is val initialized or not? Note that passing in addresses of values is the standard way of getting around the fact that C/C++ does not support multiple return values.