Walter, I need a __trait please.

ZombineDev via Digitalmars-d digitalmars-d at puremagic.com
Wed Mar 16 04:57:50 PDT 2016


On Wednesday, 16 March 2016 at 11:45:28 UTC, ZombineDev wrote:
> ...
>
> "You DON'T want to expose your compiler implementation to the 
> language."
> ironically, it looks like there is a company whose business is 
> solely based on this idea 
> (https://www.postsharp.net/aop.net/compiletime-weaving) and it 
> looks like they are quite successful 
> (https://www.postsharp.net/). The list of features 
> (https://www.postsharp.net/features) proves that more access is 
> better than no access, because otherwise none of them would be 
> possible.

I know that a lot of the stuff are possible with mixin templates 
but, you can only wrap existing code with them. You can't modify 
the function bodies.


More information about the Digitalmars-d mailing list