|
From: | Hans Aberg |
Subject: | Grammar types and C++ |
Date: | Tue, 30 Nov 2010 21:27:46 +0100 |
I define a root class, which just holds a polymorphic pointer, from which all the other classes are derived, with no derived class adding any data. So this would then suffice.
Right now, I need to write out type conversions explicitly, and I do not use a typed grammar. So having this feature, might be a simplification.
Hans
[Prev in Thread] | Current Thread | [Next in Thread] |