ProcessingInstruction.opCmp

Compares two processing instructions

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

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

Examples

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

Meta