mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
5 lines
273 B
Text
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.
|