Jump to content

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,818

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.