Default values of transient data members

From: Constantin Loizides <loizides_at_MIT.EDU>
Date: Fri, 31 Aug 2007 11:20:56 +0200


Hi all,

this is probably a question to Philippe, but anyways I am going to post it in public. Philippe had mentioned in some post to one of the CMS mailing lists that he is planning to implement the feature to (re-)set default values for transient data members.

The use case for me would be to reset computational intensive and therefore cached (transient) members of a given class that is hold in a TClonesArray. Since I do not want to forbid bypassing of the class streamer for optimized write/reads I can not implement a custom streamer that would reset my cache. (that's at least how I understand the users guide and parts of the code that I checked).

So my question is
a) When can one expect the "![N]" feature to be implemented? b) In the mean-time is there another solution to this?

Thanks,
Constantin

-- 
Phone: +41-22-76 74875 (CERN)
Skype: loizides / AOL: ConLoi
Received on Fri Aug 31 2007 - 11:22:28 CEST

This archive was generated by hypermail 2.2.0 : Fri Aug 31 2007 - 17:50:02 CEST