3 ms·
I've found returning type and boolean useful more than once, usually 'data of type and false if something went wrong or the return data is invalid, data of type
by krapp 13y ago
I've found returning type and boolean useful more than once, usually 'data of type and false if something went wrong or the return data is invalid, data of type and true if valid.'
std::pair<T, boolean> was like a gift from the gods when I found out about it