Mixin template evaluated to string can convert to string mixin
Paul D. Anderson
paul.d.removethis.anderson at comcast.andthis.net
Fri Jun 24 09:33:23 PDT 2011
kenji hara Wrote:
> Issue in bugzilla:
> http://d.puremagic.com/issues/show_bug.cgi?id=6207
> Test implementation:
> https://github.com/9rnsr/dmd/commit/52e4491cf6bf9ccf6dccc1fa60581fd6797d39b3
>
> String mixin feature in D is very useful, but its syntax is bit ugly.
> My proposal will make it more softly, and introduces more generative
> programming.
>
> Any thoughts?
>
> Kenji
Template mixins are considered experimental in TDPL. Andrei warns that this feature could be replaced in the future. Does this proposal make that less likely?
Paul
More information about the Digitalmars-d
mailing list