The OpenD Programming Language

kindOf

Extracts SliceKind.

enum kindOf (
T : Slice!(Iterator, N, kind)
Iterator
SliceKind kind
)

Examples

static assert(kindOf!(Slice!(int*, 1, Universal)) == Universal);

Meta