The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
TopN.put
dstats
sort
TopN
Insert an element into the topN struct.
struct
TopN
(T, alias compFun = "a > b")
void
put
(
T
elem
)
Meta
Source
See Implementation
dstats
sort
TopN
constructors
this
functions
getElements
getSorted
put
Insert an element into the topN struct.