The future of UDAs.

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Tue Nov 27 07:49:36 PST 2012


Can you implement this use case?
Have classes mix in something,, which will register them in a single place,
which can later suppl the registered classes as a type tuple.


On Tue, Nov 27, 2012 at 7:06 PM, Manu <turkeyman at gmail.com> wrote:

> On 27 November 2012 14:36, Gor Gyolchanyan <gor.f.gyolchanyan at gmail.com>wrote:
>
>> It has to be in a single function. Suppose you have a variety of modules
>> each of which has a variety of types. And you need to compose a
>> compile-time string which involves all those types and you need to mix that
>> string in at some point. You can't do that.
>
>
> ...what? Wanna supply some sort of context?
> I've spent a lot of time generating a lot of mixin code, and while it can
> be a proper pain in the arse, you can do some pretty powerful stuff. I
> haven't run into many limitations.
>



-- 
Bye,
Gor Gyolchanyan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121127/cf3e182c/attachment.html>


More information about the Digitalmars-d mailing list