Document.opCmp

Compares two Documents

You should rarely need to call this function. It exists so that Documents can be used as associative array keys.

class Document
const override scope const
int
opCmp
(
scope const Object o
)

Examples

Document d1,d2;
if (d1 < d2) { }

Meta

Suggestion Box / Bug Report