Comment.opCmp

Compares two comments

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

class Comment
override scope const @trusted
int
opCmp
(
scope const Object o
)

Examples

Comment item1,item2;
if (item1 < item2) { }

Meta