I have started writing a really basic tile engine in C++ and I'm not entirely sure when to use const return values. Should I use them in cases like this
class A
{
private:
Rectangle hitBox;
public:
A();
const bool Collision(const Rectangle& hitBox2);
};
or is it totally pointless?