Finding position of a value in an array

Ron Tarrant rontarrant at
Mon Dec 30 19:08:27 UTC 2019

On Monday, 30 December 2019 at 17:12:26 UTC, MoonlightSentinel 

> D disallows implicit conversion from integers to pointers and 
> hence they cannot be compared. You would need to explicitly 
> cast your ulong to an appropriate pointer type

I'm not trying to convert, just wade through an array of pointers 
to find a specific pointer using searchUntil().

I mean, it's not a big deal if I can't do it. Adding an ID 
property and searching on that is just as effective and likely 
just as efficient.

More information about the Digitalmars-d-learn mailing list