“inline” Is Yet Another Word For “Premature Optimization”
The fact that some C++ developers use the ‘inline’ keyword so much has always been a conundrum to me — I’ve never liked it. Why? First and foremost because it clutters up header files and exposes implementation details to the users of a class. Most likely, inline aficionados believe that these disadvantages are more than […]