Feature to get or add value to an associative array.
Uknown
sireeshkodali1 at gmail.com
Fri Apr 20 15:11:59 UTC 2018
On Friday, 20 April 2018 at 15:00:39 UTC, Steven Schveighoffer
wrote:
> On 4/20/18 10:34 AM, Uknown wrote:
>> On Friday, 20 April 2018 at 14:02:17 UTC, Steven Schveighoffer
>> wrote:
>>> On 4/20/18 4:24 AM, Nick Treleaven wrote:
>>>> On Wednesday, 18 April 2018 at 16:47:50 UTC, ag0aep6g wrote:
>>>>> [...]
>
> Sorry, it was a typo. In my real code I have:
>
> xp = &(foo(x));
>
> That's what I get for hand-typing instead of copy-pasting :)
>
> -Steve
It seems like a bug. Changing foo to take and return an `int *`
works as expected
https://run.dlang.io/is/3NYXYv
More information about the Digitalmars-d
mailing list