memutils.helpers

Undocumented in source.

Members

Functions

__ArrayDtor
void __ArrayDtor(T[] a)
Undocumented in source. Be warned that the author may not have intended to support it.
addressOf
T* addressOf(T val)
Undocumented in source. Be warned that the author may not have intended to support it.
destructRecurse
void destructRecurse(E[n] arr)
Undocumented in source. Be warned that the author may not have intended to support it.
destructRecurse
void destructRecurse(S s)
Undocumented in source. Be warned that the author may not have intended to support it.
fill
void fill(Range range, Value value)
Undocumented in source. Be warned that the author may not have intended to support it.
initializeAll
void initializeAll(Range range)
Undocumented in source. Be warned that the author may not have intended to support it.
initializeAll
void initializeAll(Range range)
max
T max(T a, U b)

TODO: Imitate Unique! for all objects (assume dtor) with release() TODO: implement @override on underlying type T, and check for shadowed members.

memcmp
int memcmp(void* s1, void* s2, size_t n)
memcpy
void* memcpy(void* s1, void* s2, size_t n)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
memmove
void* memmove(void* s1, void* s2, size_t n)
memset
void* memset(void* s, int c, size_t n)
min
T min(T a, U b)

TODO: Imitate Unique! for all objects (assume dtor) with release() TODO: implement @override on underlying type T, and check for shadowed members.

wasm_free
void wasm_free(void* ptr, size_t size)
wasm_malloc
void* wasm_malloc(size_t size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
wasm_realloc
void* wasm_realloc(void* ptr, size_t oldsize, size_t size)

Imports

ElementType (from std.range)
public import std.range : ElementType;
Undocumented in source.

Mixin templates

Embed
mixintemplate Embed(alias OBJ, alias OWNED)

TODO: Imitate Unique! for all objects (assume dtor) with release() TODO: implement @override on underlying type T, and check for shadowed members.

Templates

UnConst
template UnConst(T)
Undocumented in source.

Variables

isSomeFunction (from std.traits)
enum bool isSomeFunction(alias T); via public import std.traits : isSomeFunction;

Detect whether symbol or type T is a function, a function pointer or a delegate.

Meta