transporting qualifier from parameter to the return value

Steven Schveighoffer schveiguy at yahoo.com
Wed Dec 16 13:02:06 PST 2009


On Wed, 16 Dec 2009 13:59:36 -0500, Walter Bright  
<newshound1 at digitalmars.com> wrote:

> 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?

See my post in another part of this thread, there are 3 related bugs in  
bugzilla.

-Steve



More information about the Digitalmars-d mailing list