non-virtual-interface

private overrides of private methods pattern? (ANSWER: NVI)

What's the accepted jargon (if any) for describing methods meant to be invoked only virtually and from other methods in the base? I've occasionally seen this referred to as a callback, but that seems to stray pretty far from the original definition of that term. I'm not even sure that this merits being called a pattern, but I'm trying ...

Non-virtual derivation: what do I really get from the compiler?

Hi, I am wondering what is produced by the compiler when using non-virtual derivation: template< unsigned int D > class Point { int[D]; // No virtual function // ... }; class Point2 : public Point<2> {}; class Point3 : public Point<3> {}; Does the derivation here only imply compile-time checks? Or is there some other ove...