by hellofunk · 9y ago · 0 comments
At worst the overhead is a function call anyway and inhibition of inlining in the error path. Generally nothing to worry about.
But not in the standard library. Of course, in C++, you can do anything if you venture outside the standard.