Default-valued nothrow @nogc std.conv:to

Nordlöw via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 22 05:27:59 PDT 2017


On Saturday, 22 April 2017 at 12:14:26 UTC, Nordlöw wrote:
>     if (haveCommonType!(T, U))

Defined as:

/// Is `true` iff `Types` all share a common type.
enum bool haveCommonType(Types...) = !is(CommonType!Types == 
void);

import std.traits : CommonType;


More information about the Digitalmars-d mailing list