UDA status

Jacob Carlborg doob at me.com
Sun Mar 17 07:46:58 PDT 2013


On 2013-03-11 21:41, simendsjo wrote:

> Some update.. Using a custom Tuple(T...) makes things a bit smoother.
> Here's my first working test with two templates: hasAttr to see if an
> attribute exists, and attrOfType to get all attributes matching a type
> (not sure if I should include values..)

You need to use TypeTuple and not Tuple. This is my library functions 
for UDA's:

https://github.com/jacob-carlborg/orange/blob/master/orange/core/Attribute.d

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list