Compiler Optimizations - Function has no address
问题 I have not used much pointers to member functions but I think that found some dangerous scenarios when using such pointers. The problem comes when compiler decides not to assign address to function, because of some optimization. It happened with VS 2015 even in Debug, x86 (with disabled Optimization - /Od). I am refactoring one old system, moving some code in a common static library (common.lib) so to be able to be used from several projects. Even if not the best pattern, the old