User Defined Attributes

Walter Bright newshound2 at digitalmars.com
Tue Nov 6 12:49:03 PST 2012


On 11/6/2012 12:28 PM, Max Samukha wrote:
> In C#, I can distinguish, which of SomeFunkyID instances is intended for the
> return value and which for the function itself. How would I do that if both
> attributes were piled together in the same tuple?

Make SomeFunkyID a parameter to a ReturnOnly template that you've defined.




More information about the Digitalmars-d-announce mailing list