transporting qualifier from parameter to the return value

Walter Bright newshound1 at digitalmars.com
Wed Dec 16 13:28:59 PST 2009


Steven Schveighoffer wrote:
> 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

Those all looked possibly different, so I put it in as:

http://d.puremagic.com/issues/show_bug.cgi?id=3621



More information about the Digitalmars-d mailing list