Am Tue, 28 May 2013 08:37:12 +1000
schrieb Manu <turkeyman@gmail.com>:
> Not sure what you mean...
> Using template specialisation for each attribute permutation or
> something?
>
>
> On 27 May 2013 23:20, David Nadlinger <see@klickverbot.at> wrote:
>
http://dpaste.dzfl.pl/5f8f5a7a> > On Monday, 27 May 2013 at 12:02:28 UTC, Manu wrote:
> >
> >> On 27 May 2013 21:40, Iain Buclaw <ibuclaw@ubuntu.com> wrote:
> >>
> >>> Looks like the frontend rejects this - will find out whether this
> >>> is a bug or intentional...
> >>>
> >>>
> >> Yep, I saw that coming a mile off! >_<
> >> I can't imagine any good reason why it shouldn't be supported.
> >> Just that nobody ever considered it in the context of UDA's.
> >>
> >
> > Does it work if you spell out the template and put the attribute on
> > the function? Might be good as a workaround for testing.
> >
> > David
> >
>
(But it seems using getAttribute on that template results in an
internal error in dmd.)