Testing some singleton implementations
Andrej Mitrovic
andrej.mitrovich at gmail.com
Mon Feb 10 01:52:00 PST 2014
On 2/9/14, luka8088 <luka8088 at owave.net> wrote:
> What about swapping function pointer so the check is done only once per
> thread? (Thread is tldr so I am sorry if someone already suggested this)
Interesting solution for sure.
> // tls
> @property static typeof(this) function () get;
This confused me for a second since @property is meaningless for variables. :>
More information about the Digitalmars-d
mailing list