Original Post
I remeber just pure virutal function need the define of function. but I found virutual function declaration do not pass linker. why? class Base { virtual void bar(); }; it do not pass linker class Base { void bar(); }; this is ok.