#include <iostream>
#include <functional>
struct Ex
{
void f(); //member function
std::function<void()> g; //member std::function
void (*h)(); //member pointer to function
};
int main()
{
//no instance of Ex exists
auto my_f = &Ex::f;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8ZnVuY3Rpb25hbD4KCnN0cnVjdCBFeAp7CiAgICB2b2lkIGYoKTsgLy9tZW1iZXIgZnVuY3Rpb24KICAgIHN0ZDo6ZnVuY3Rpb248dm9pZCgpPiBnOyAvL21lbWJlciBzdGQ6OmZ1bmN0aW9uCiAgICB2b2lkICgqaCkoKTsgLy9tZW1iZXIgcG9pbnRlciB0byBmdW5jdGlvbgp9OwoKaW50IG1haW4oKQp7CgkvL25vIGluc3RhbmNlIG9mIEV4IGV4aXN0cwoJYXV0byBteV9mID0gJkV4OjpmOwp9