On 12/31/19 9:47 AM, Steven Schveighoffer wrote:for the original example:int[] a = [77,66,55,44]; int i = a.bwin.find(55).bufRef.pos;sorry, should be size_t i.
Unsigned? Then how the function signal no such element found? The convention of indexOf is to use -1.