Yauheni Akhotnikau wrote: > Do you think this task can be done with D templates at complile time? Yes, that's exactly the intent. If this can't be made to work, we'll fix D so it can.