Set variable at compile time

Ali Çehreli acehreli at yahoo.com
Wed Oct 30 14:05:30 PDT 2013


On 10/30/2013 01:41 PM, Craig Dillabaugh wrote:

 > you use the interface to provide a common interface so
 > that the instantiated objects can be used by algorithms which do
 > not have any knowledge of the particular dimension of a given
 > point.  Is that correct?

Yes, classic run-time vs. compile-time polymorphism. Apparently, you 
need the latter. :)

Ali



More information about the Digitalmars-d-learn mailing list