O
Oliver Anhuth
Hello all,
is it legal to call a static member function with a null pointer?
Is this correct C++?
class X {
public:
static void f() {}
};
int main() {
X* pX = 0;
pX->f();
}
Thanks Oliver
is it legal to call a static member function with a null pointer?
Is this correct C++?
class X {
public:
static void f() {}
};
int main() {
X* pX = 0;
pX->f();
}
Thanks Oliver