QueueG.index

Returns the position of the first element in queue which contains data. Since 2.4

class QueueG
int
index
(
void* data
)

Parameters

data void*

the data to find.

Return Value

Type: int

The position of the first element in queue which contains data, or -1 if no element in queue contains data.

Meta