I see.
Thank you,guys)
On Sunday, June 10, 2012 12:05:48 Ali Çehreli wrote:
> On 06/10/2012 10:08 AM, Zhenya wrote:
> > Hi!Today I completly understood,what I don't now what is the difference
> > between template and mixin template
>
> There is a terminology problem: there is no such t
On 06/10/12 19:45, Zhenya wrote:
> On Sunday, 10 June 2012 at 17:34:19 UTC, Zhenya wrote:
>> I read in documentation,that we have two ways to use mixin statement.
>> 1st: mixin(string_wich_can_be_evaluated_at_compile_time);
>> 2st:mixin template
>> I could'nt find any information about such way to
On 06/10/2012 10:08 AM, Zhenya wrote:
> Hi!Today I completly understood,what I don't now what is the difference
> between template and mixin template
There is a terminology problem: there is no such thing as "mixin
templates". There are only templates.
D also has the m
On Sunday, 10 June 2012 at 17:34:19 UTC, Zhenya wrote:
I read in documentation,that we have two ways to use mixin
statement.
1st: mixin(string_wich_can_be_evaluated_at_compile_time);
2st:mixin template
I could'nt find any information about such way to use it
Also,in this case if we add "mixin"
I read in documentation,that we have two ways to use mixin
statement.
1st: mixin(string_wich_can_be_evaluated_at_compile_time);
2st:mixin template
I could'nt find any information about such way to use it
On 06/10/12 19:08, Zhenya wrote:
> Hi!Today I completly understood,what I don't now what is the difference
> between template and mixin template,becouse I think that this should'nt
> work.But compiler is disagree.Could anybody explain me please?
>
> import std.stdio;
&g
Hi!Today I completly understood,what I don't now what is the
difference between template and mixin template,becouse I think
that this should'nt work.But compiler is disagree.Could anybody
explain me please?
import std.stdio;
int x;
template smth()
{
void smth(){x = 1;}
}