Are there performance considerations when moving member functions of a class that are used only by one other member function of that class and making them local functions at the start of the function they are being used by instead?
Are there performance considerations when moving member functions of a class that are used
Share
No, there’s not. It’s just a normal function call.
It’s worth mentioning that you can’t use local structs or classes as template arguments, so if you were thinking of using them for STL comparators then forget it 🙂