cpp/regex/match results/operator cmp

Compares two objects.

Two are equal if the following conditions are met:
 * neither of the objects is ready, or
 * both match results are ready and the following conditions are met:
 * and, or
 * and and the following conditions are met:

@1@ Checks if and  are equal. @2@ Checks if and  are not equal.

Return value
@1@ if  and  are equal,  otherwise. @2@ if  and  are not equal,  otherwise.