Original Post
Very basic stuff. I''m going to write myself a vector class, as a learning exercise more than anything.
If I write this class as a template (so I can have int vectors, float vectors, double vectors etc) are there any disadvantages? Does the compiler chuck in a version for each main data type even if they''re not used or anything silly like that, or are templates through-and-through a good idea?
- seb
