Boost logo

Boost :

From: Powell, Gary (powellg_at_[hidden])
Date: 2003-04-14 13:58:53

Because it logically isn't const. You know that the engine is going to modify its result the next time you call it. Mutable IMO is for things which are at least logically const, if not actually so.


-----Original Message-----
From: Thorsten Ottosen [mailto:nesotto_at_[hidden]]
Sent: Monday, April 14, 2003 11:23 AM
To: boost_at_[hidden]
Subject: [boost] why is operator() not const in random number generators?

Hi All,

I guess the headline says it all. Wouldn't it be better
with some mutable data?



Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at