Singleton: Difference between revisions

m
m (PhixClass)
Line 1,640:
 
=={{header|Phix}}==
{{libheader|PhixClassPhix/Class}}
Not really any special handling for singletons in Phix, but you can do something like this,
or keep check() private and invoke it internally from a few critical routines.
7,806

edits