Just confirming with you guys, please tell me if I am correct. The triangle brackets <> are used when a class has been defined with a template data type. This is so the same class can be used with different data types. (i.e. std::vectors that can hold anything!)
In the Graphics tutorial, sometimes a Rectangle<int> is called and sometimes a Rectangle<float> is used. Originally I thought it was odd that it was even used in the first place, but now, I understand that it exists in order to allow you to pass numbers as arguments as types int, float, double, long etc. Is that correct?
If that’s correct, can’t the Rectangle class not just have different constructors one that accepts int arguments, another for floats, etc. ?