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.

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

Return Value

Type: int

!=0 if types match.

Meta