title: Would C++ exception stops function from being inlined?
body: <p>Suppose I have a very simple function that I expect the compiler to inline it. But I may need to throw exception on seeing some invalid input, would that stop the compiler from inlining the function?</p>