Open virtuald opened 4 years ago
class Foo { std::function<void()> fn; };
Is a function. The following would be interpreted incorrectly also, and I imagine adding function parameters would break also:
class Foo { std::function<void()> getFn(); };
Is a function. The following would be interpreted incorrectly also, and I imagine adding function parameters would break also: