On Monday, 30 December 2019 at 14:30:12 UTC, Ron Tarrant wrote:
On Sunday, 29 December 2019 at 09:44:18 UTC, MoonlightSentinel wrote:int i = a.countUntil(55);I was trying to do this with an array of pointers, but I get an error (which suggests to me that I don't know what data type a pointer is):find_in_array_object.d(25): Error: cannot cast expression newObject of type find_in_array_object.MyObject to ulong
What's your code? 'find_in_array_object.MyObject' doesn't look like a pointer.