implicitConvTy1

If ty1 and ty2 are basic types, return the TY that ty1 can be implicitly converted to to bring them to a common ty. It's symmetric, i.e. the operands can be swapped.

pure @nogc nothrow @safe
TY
implicitConvTy1
(
TY ty1
,
TY ty2
)

Parameters

ty1 TY

first operand type

ty2 TY

second operand type

Return Value

Type: TY

ty = what ty1 should be converted to, else Terror

Meta