[Next] [Prev] [Up] [Top]

20.0 Design

Constructor-destructor side effect classes (GL)


Use "side-effect" classes when one action must be performed when entering a function and another when exitting the function. A "side-effect" class has only a constructor and destructor. These allow a robust way to specify this constraint. For an example, look in Guide for SDrawPush.


No Title
[Next] [Prev] [Up] [Top]

Generated with CERN WebMaker

This site was grabbed using the TRIAL version of Grab-a-Site. This message does not appear on a licensed copy of Grab-a-Site.