dmd/changelog/dmd.isCOMClass.dd
2024-11-29 08:37:07 +01:00

5 lines
273 B
Text

New trait isCOMClass to detect if a type is a COM class
A COM class inherits from a possibly user defined interface called ``IUnknown``.
To detect this during compilation use the trait ``__traits(isCOMClass, Type)``.
Or for during runtime use the ``TypeInfo_Class`` flag.