I tried out templates in #c++ and overall it's pretty good « if you keep things simple ;) ». Other than maths, I don't see myself using this much. If anyone is interested, I turned my implementation for a 2D vector (linear algebra) type into a gist.

https://gist.github.com/aubs-dev/f0b2cf8397f5d09dea48d7d7d78d4494

Comments