コード例 #1
0
/**
 *	Implements the equals operator
 *
 *	\param other Reference the the IP address which we should compare to
 *
 *	\return bool True if both addresses are the same, false if not
 */
bool IPv6_addr::operator==(const IPv6_addr & other) const {
	return equal(this->begin(), this->end(), other.begin());
}