UDP enhancement

Daniel Murphy yebblies at nospamgmail.com
Fri Jul 5 05:10:01 PDT 2013


"Jacob Carlborg" <doob at me.com> wrote in message 
news:kr673g$179s$1 at digitalmars.com...
> On 2013-07-03 03:42, Daniel Murphy wrote:
>
>> You should probably try using template mixins, if all you need to do is
>> expand some code.
>
> I don't think that works so well together with ddoc comments. Ideally you 
> should be able to do something like this:
>
> class Foo
> {
>     /// Get/set bar
>     mixin property!(int, "bar");
> }
>
> -- 
> /Jacob Carlborg

True, for now. 




More information about the Digitalmars-d mailing list