>>>>> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes:

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

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

I'll fix that.

JMarc

Reply via email to