User Defined Attributes

David Nadlinger see at klickverbot.at
Tue Nov 6 12:50:59 PST 2012


On Tuesday, 6 November 2012 at 17:20:10 UTC, Walter Bright wrote:
> On 11/6/2012 9:07 AM, John Chapman wrote:
>> UDAs appear to work on class, struct and global methods, but 
>> not interface
>> methods. Any reason for the omission? Would be great to have 
>> them on interface
>> methods too - for example to define COM dispids.
>
> Can you show an example code snippet?

For further examples on how annotations on interfaces would be 
useful, see my post about Thrift – services happen to be 
translated into D interfaces.

David


More information about the Digitalmars-d-announce mailing list