typematch

A cheap version of exp2.typematch() and exp2.paramlstmatch(), so that we can get cpp_mangle() to work for MARS. It's less complex because it doesn't do templates and can rely on strict typechecking.

version(COMPILE && MARS)
extern (C++) nothrow
int
typematch
(
type* t1
,
type* t2
,
int relax
)

Return Value

Type: int

!=0 if types match.

Meta