I searched some post about virtual function declaration, which believed
=0
in
virtual void test()=0;
is fixed syntex so
virtual void test()=NULL;
virtual void test()=false;
virtual void test()=1-1;
virtual void test()=0.0;
and other declarations should not be valid.
but I found
virtual void test()=00;
virtual void test()=000;
virtual void test()=0000;
can also compile, why?
and also, I think integer +0 and -0 are actually same as 0 (I am not sure if it is right), just like 00 is actually 0, why
virtual void test()=+0;
and
virtual void test()=-0;
cannot compile?