QueueG.index

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

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