implicitConvCommonTy

If ty1 and ty2 are basic types, return the TY that both can be implicitly converted to.

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

Parameters

ty1 TY

first operand type

ty2 TY

second operand type

Return Value

Type: TY

ty = common type, else Terror

Meta