DescriptionAdd CallOnce() and simple LazyInstance implementation.
Note that this implementation of LazyInstance does not handle global destructors (i.e. the lazy instances are never deleted).
This CL was initially reviewed on codereview.appspot.com:
http://codereview.appspot.com/5687064/
BUG=1859
Patch Set 1 #Patch Set 2 : Fix out-dated if statements in once.h #Patch Set 3 : Lint. #
Messages
Total messages: 6 (0 generated)
|