#include <iostream>
struct A
{
static void Func1() {}
static void Func2() {}
};
int main()
{
struct A a;
std::cout << A::Func1 << std::endl;
std::cout << A::Func2 << std::endl;
}
Output:
1
1
I would think this would give me the pointer addresses for where the instructions for the static member function lives but it doesn't seem to do that.
I am running on gcc 4.8.2 on ubuntu.