In C++, a constructor is a special function that must be invoked when an object is created. Its objective is to initialize a new object to a valid state before any processing occurs using the object.
I'm trying to templatize a class, based on a list of values. The list can't be another class - template parameters need to be compile-time constants. So that leaves arrays as the option.<P>My current ...