immutable(ubyte)[] to receive
Alexey
makovey090601 at gmail.com
Thu Jan 20 10:44:38 UTC 2022
On Thursday, 20 January 2022 at 10:21:23 UTC, bauss wrote:
> On Thursday, 20 January 2022 at 10:19:37 UTC, bauss wrote:
>> On Thursday, 20 January 2022 at 10:18:03 UTC, bauss wrote:
>>> [...]
>>
>> Oh wait, I just noticed Buffer is an alias to an immutable
>> array.
>>
>> Ignore what I just said...
>
> I'm too fast again, well don't ignore entirely what I said,
> since you still modify an immutable reference by appending to
> t, I believe.
>
> I'm not 100% sure about this one, but I'm 99% sure.
problem: we cant receive Buffer[], solution is to make some
wrapper, but its interesting why we cant without
More information about the Digitalmars-d
mailing list