opApply + const
ryuukk_
ryuukk.dev at gmail.com
Tue Jan 23 17:36:32 UTC 2024
On Tuesday, 23 January 2024 at 17:22:25 UTC, Paul Backus wrote:
> On Tuesday, 23 January 2024 at 16:11:25 UTC, ryuukk_ wrote:
>> It works fine.. but when the variable becomes ``const(Stuff)*
>> stuff;``
>>
>> It gives me:
>>
>> ```
>> onlineapp.d(13): Error: cannot uniquely infer `foreach`
>> argument types
>> ```
>>
>> I have no idea what i should be doing, does anyone have a clue?
>
> https://issues.dlang.org/show_bug.cgi?id=24353
Thanks, the error message was confusing me..
I tried to fix it https://github.com/dlang/dmd/pull/16086
More information about the Digitalmars-d-learn
mailing list