druntime, templates and traits

Sean Kelly sean at invisibleduck.org
Fri Sep 13 08:10:58 PDT 2013


On Sep 13, 2013, at 5:35 AM, Jacob Carlborg <doob at me.com> wrote:

> On 2013-09-13 12:26, monarch_dodra wrote:
> 
>> I had started toying around with this, and the main and immediate
>> challenge I ran into is the integration of templates. The 2 issues are:
>> 1. All templates must be in object.d, or the compiler won't see it.
> 
> Do you know why that is? Can they be put in a separate module but imported by object.d?

Yes.



More information about the Digitalmars-d mailing list