On 24/04/14 00:29, Martin Nowak wrote:

Looks fairly interesting, because it partly solves the issue to allow
custom rtinfo.

I don't like this solution for custom RTInfo. It requires you to change your type. I would rather modify the compiler to do something like this:

* Add a UDA to druntime: "core.attributes.rtInfo"

* If any template has the core.attributes.rtInfo UDA attached to itself, instantiate that as is done with core.RTInfo

--
/Jacob Carlborg

Reply via email to