common

Members

Aliases

binstr
alias binstr = ubyte[]

Binary, typeless string.

cchar
alias cchar = const(char)

Const character aliases.

cstring
alias cstring = const(char)[]

Constant string aliases.

int_t
alias int_t = sizediff_t

General int.

ssize_t
alias ssize_t = sizediff_t

Signed size type.

uint_t
alias uint_t = size_t

General uint.

Classes

UnittestMsg
class UnittestMsg

Writes a message to stdout.

Functions

In
bool In(X x, Xs xs)

Like Set, but used like: 13.In(8,13,0) NB: DMD generates worse code for Set() because of the inner struct.

Set
auto Set(Xs xs)

Supports expressions like: 13 in Set(8,13,0)

Static variables

Format
Layout!(char) Format;

Global formatter instance.

Structs

Neg
struct Neg

Full range negative integer.

Templates

Array2Tuple
template Array2Tuple(alias T)

Converts an array to a tuple.

Tuple
template Tuple(T...)

Constructs a compile-time tuple.

Meta

Authors

Aziz Köksal

License

GPL3 $(Maturity high)