isDynamicArrayFast

Is true iff T is a slice of chars.

enum isDynamicArrayFast (
T
)

Examples

static assert(isDynamicArrayFast!(char[]));
static assert(isDynamicArrayFast!(int[]));
static assert(isDynamicArrayFast!(const(char[])));
static assert(isDynamicArrayFast!(const char[]));
static assert(isDynamicArrayFast!(const const(char)[]));
static assert(isDynamicArrayFast!(string[]));
static assert(isDynamicArrayFast!(immutable(int)[]));
static assert(!isDynamicArrayFast!(char[3]));

Meta