One problem I see here: What about the constructors? They must be generic in DimStuff, no?If you need the constructors, your question is the answer: struct FatInset : DimStuff<WhatEverParentInset> { FatInset(non-"standard"-stuff-here) { ... } }
No, it does not allow me to have non-standard constructors in WhatEverParentInset. Or at least there must be a standard one which can be called by DimStuff<T>. One can of course move to a general two stage intialisation in those cases. I guess not many inset will be of interest to be type parameter to DimStuff.
Stefan
PGP.sig
Description: Signierter Teil der Nachricht