3 Vector!string parseAlgorithmName()
12 RefCounted!(Vector, ALLOC) dupr()
18 struct RefCounted(T, ALLOC)
29 void _destructRecurse(S)(ref S s)
32 static if (__traits(hasMember, S, "__xdtor") &&
33 __traits(isSame, S, __traits(parent, s.__xdtor)))
39 void destroy(T)(ref T obj) if (is(T == struct))
41 _destructRecurse(obj);
43 auto buf = (cast(ubyte*) &obj)[0 .. T.sizeof];
44 auto init = cast(ubyte[])typeid(T).init();
45 if (init.ptr is null) // null ptr means initialize to 0s