On Wed, 3 May 2000, Angus Leeming wrote:

> JMarc> I am a bit surprised by the following:
> JMarc> -Bullet::Bullet(const int f, const int c, const int s)
> JMarc> +Bullet::Bullet(int f, int c, int s)
> 
> Whoa! Aren't f, c and s passed by value here, so it makes no sense to declare
> them const anyway?

Unless you want to be sure that no-one tries to modify their values.
Somewhere along the line the header and implementation have gotten out of
sync.

Allan. (ARRae)

Reply via email to