Diff
Not logged in

Differences From Artifact [193cf29f54393c6e]:

To Artifact [16f826d18ff480be]:


26 26 /// Mixing-in the bean constructor for a class 27 27 28 28 /*mixin*/ template SimpleConstructor() 29 29 { 30 30 static if( is(typeof(super) == Object) || super.tupleof.length==0 ) 31 31 this( typeof(this.tupleof) params ) 32 32 { 33 - this.tupleof = params; 33 + static if(this.tupleof.length>0) 34 + this.tupleof = params; 34 35 } 35 36 else 36 37 // this parameter list is not always desirable but should work for many cases 37 38 this( typeof(super.tupleof) ps, typeof(this.tupleof) params ) 38 39 { 39 40 super(ps); 40 - this.tupleof = params; 41 + static if(this.tupleof.length>0) 42 + this.tupleof = params; 41 43 } 42 44 } 43 45 44 46 /// Mixing-in the (MOST-DERIVED) member-wise comparator for a class 45 47 46 48 /*mixin*/ template SimpleCompare() 47 49 {