Finding position of a value in an array

Ron Tarrant rontarrant at gmail.com
Mon Dec 30 19:29:57 UTC 2019


On Monday, 30 December 2019 at 19:08:27 UTC, Ron Tarrant wrote:

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

****** that should read: countUntil(), not searchUntil() *****

Turns out I was getting too complicated. countUntil() works on 
object references as well, even if printing object references to 
a shell doesn't seem to differentiate between them.


More information about the Digitalmars-d-learn mailing list