title: Are functions defined in headers guaranteed to be inlined?
body: <p>If I define a non-member function in a header, will it always be inlined by the compiler, or does the compiler choose based on its heuristics? I know that __inline is just a hint, is it the same with functions in headers?</p>