The OpenD Programming Language

TopN.getElements

Get the elements currently in the struct. Returns a reference to * internal state, elements will be in an arbitrary order. Cheap.

struct TopN(T, alias compFun = "a > b")
T[]
getElements
()

Meta