C3 Tutorial
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Distinct Types & Type Aliases

  • Uses the uniform def syntax.
  • Regular type aliases are the same as C typedef.
  • Distinct types are type aliases that doesn’t implicitly convert to the aliased type.
  • distinct inline types can automatically convert to its underlying type, but otherwise works as distinct types.