ahodgson@athena.mit.edu (Antony Hodgson) (03/08/91)
I tried to recompile some old code under BC++, only to have the linker
fail. It turns out that static member functions must be explicitly
declared and initialized OUTSIDE the class definition; apparently this
is in conformance to some ANSI standard.
E.g.
OLD (TC++): class Static { static int i; ... }
NEW (BC++): // must add the following:
int Static::i = INITIALVALUE;
Hope this saves a few $$ in calls to tech support.
Tony Hodgson