Quote Originally Posted by HarryCummings View Post
Why is that sort of return supposed to be "standard" ?
Return is return.
"Switch" to select cases for return code that might be predefined as const and documented for references
Thanks for your response. Because in C convention, people tend to return 0 for success, but in C++ some functions will return false for fail, so I am not sure what should I return for success and let it make sense for most people now.