Enum member isBufferVectorField

Evaluates to true if FuncType is a vector field which takes an additional (but often optional) buffer of type RetType[] as the second argument.

enum isBufferVectorField(FuncType, ArgType, RetType) = __traits(compiles, () { ArgType[] x; RetType[] buf; FuncType f; RetType[] y = f(x, buf); } );