Either.toHash

size_t toHash() const

Hashes the active alternative and its tag.

Returns

the hash of the active payload combined with the tag, suitable

for associative-array keys together with opEquals.