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.

  -Gary-

-----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?

regards

Thorsten

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk