All pastes #2091735 Raw Edit

Miscellany

public cpp v1 · immutable
#2091735 ·published 2011-10-20 11:30 UTC
rendered paste body
virtual bool operator==(const Node* other) const {	if (this == other)		return true;	const EuclideanNode* enode = dynamic_cast<const EuclideanNode*>(other);	if (!enode)		return false;	return enode->x == x && enode->y == y && enode->z == z;}