Hey Matthew,

2011/12/20 Matthew Sherborne <msherbo...@gmail.com>:
> Why is 'mutable' used on this line ?

Apparently, because in Session::user() const, the user DBO object (for
a newly registered user) is lazy-created and added to the session:

https://github.com/kdeforche/wt/blob/master/examples/hangman/Session.C#L139

Regards,
koen

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to