mirror of
https://github.com/dlang/dmd.git
synced 2025-04-25 20:50:41 +03:00
Merge branch 'stable' into master
This commit is contained in:
commit
74c40e9be0
53 changed files with 187 additions and 86 deletions
5
changelog/dmd.isCOMClass.dd
Normal file
5
changelog/dmd.isCOMClass.dd
Normal file
|
@ -0,0 +1,5 @@
|
|||
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.
|
Loading…
Add table
Add a link
Reference in a new issue