Error: constructor call must be in a constructor
this(arg.tupleof);
}
[Blah, blah, blah]
This is probably related to a question recently asked on SO, which you might
have even been the author. But for synergy:
http://stackoverflow.com/questions/6553950/how-to-use-template-constru
{
> static if(isScalar!T)
> this(arg, arg);
> else
> // Error: constructor call must be in a constructor
> this(arg.tupleof);
> }
>
> [Blah, blah, blah]
This is probably related to a question recently asked on SO, whi
ional DVector2 structure and then calls the opBinary
operator. When creating this DVector2 structure the following
constructor gets called:
this(T)(T arg) if(Accepts!T)
{
static if(isScalar!T)
this(arg, arg);
else
// Error: constructor call must be