RedBlackTree.length

Returns the number of elements in the container.

Complexity: O(1).

class RedBlackTree(T, alias less = "a < b", bool allowDuplicates = false)
@property const
size_t
length
()
if (
is(typeof(binaryFun!less(T.init, T.init)))
)

Meta

Suggestion Box / Bug Report