I'm working on an assignment and I'm a bit confused on what I'm supposed to do. I made a vec2d class previously for a different assignment. Now I have to make that class into a template class. The documentation says the goal is to build a 2-d vector class to make different numeric types (int, float, double).
I need to make three typedefs vec2i, vec2f, vec2d. Each of which will be an alias for vec2< int >, vec2< float >, vec2< double >. I'm just kind of confused on what I need to do to start this.
Here is my vec2 class code from the previous assignemnt and a link to my official documentation.