On 12/30/2014 05:17 AM, Claude wrote: > use templates to define several methods (property > setters) within a class to avoid some code duplication.
I just saw this post, which is essentially the same question as Basile Burg's. I hope that a college (in France?) is teaching D and that this is a homework assignment. Cool stuff! :)
Ali