uda pattern foo and foo(val)

Steven Schveighoffer schveiguy at gmail.com
Wed Sep 23 03:36:26 UTC 2020

On 9/22/20 11:31 PM, Steven Schveighoffer wrote:

> I thought it had something to do with the optional parentheses.

I think it does have something to do with this. I think it works if you 
do attrs[0], because you really get an alias to the function symbol, and 
that calls it.

I still think I can work with this anyway.


More information about the Digitalmars-d-learn mailing list