maxSizeOf_2

Undocumented in source.
template maxSizeOf_2 (
Ts...
) {}

Members

Functions

compute
auto compute()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

maxSizeOf_2
enum maxSizeOf_2;
Undocumented in source.

Examples

static assert(maxSizeOf_2!(char) == 1);
static assert(maxSizeOf_2!(byte) == 1);
static assert(maxSizeOf_2!(byte, short) == 2);
static assert(maxSizeOf_2!(short, byte) == 2);
static assert(maxSizeOf_2!(byte, short, int) == 4);
static assert(maxSizeOf_2!(byte, short, int, long) == 8);
static assert(maxSizeOf_2!(byte, short, int, string) == 16);
static assert(maxSizeOf_2!(byte, void) == 1);
static assert(maxSizeOf_2!(byte, short, void) == 2);

Meta