haveCommonElementType

Undocumented in source.
enum bool haveCommonElementType(Types...);

Examples

Is true iff the ranges Rs have a common element type.

static assert(haveCommonElementType!(bool[], int[]));
static assert(!haveCommonElementType!(bool[], int[], string[]));

Meta