On 06.06.2012 22:39, Dmitry Olshansky wrote:
On 06.06.2012 22:20, Andrej Mitrovic wrote:This is a bit more related to C++ than D, it has to do with wrapping. I've got 4 files:test.h: class Class { public: static int statField; };Old boring C++ :) Once you have this definition due to moronic linkage model (and probably some other reasonable things) you have to have: int Class:statField;
int Class::statField; obviously -- Dmitry Olshansky