1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#pragma once namespace Javelin { template<typename T> class Point2 { public: T x; T y; Point2(int a, int b) : x(a) , y(b) { } }; }