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 ...
Let's say I have a class of non-trivial size called MyClass I also have an array of MyClass objects: But this requires elem to exist somewhere else (1 constructor) and then copying it to the internal ...
The previous two posts (part 1 and part 2) have been exploring the fundamentals of using pointers from the basics of declaring a pointer to the more complex notation of manipulating pointers. An ...