transporting qualifier from parameter to the return value

Walter Bright newshound1 at digitalmars.com
Wed Dec 16 10:59:36 PST 2009


Kagamin wrote:
> Yes, one more level of indirection is needed:
> 
> void doSomething(inout(T)[][] a, inout(T)[][] b){ a[0]=b[0]; }
> 
> though it's subject to the const bug when you pass T[][] and
> immutable(T)[][] which is due to the current const system.

Is this in bugzilla?



More information about the Digitalmars-d mailing list