testLst
enum testLst =
` |module foobar;
|
|struct FooBar(T, string memberName) {
| import core.sync.mutex : Mutex;
|
| private static shared T _val__;
| private static shared Mutex _m__;
|
| shared static this() {
1| _m__ = new shared Mutex();
| }
|
| static typeof(this)opCall() {
0000000| typeof(this)tmp;
0000000| tmp._m__.lock_nothrow();
0000000| return tmp;
| }
|
| ~this() {
0000000| _m__.unlock_nothrow();
| }
|
|
| this(this) @disable;
|}`;
cobertura
functionsmanifest constantsstructstemplates