コード例 #1
0
ファイル: poker.cpp プロジェクト: levka17/FullTiltEquity
bool table::operator==(const table & another) const
{
	return this->size == another.get_size()
		&& this->pot == another.get_pot()
		&& this->street == another.get_street()
		&& this->shared == another.get_cards()
		&& this->players == another.get_players()
		&& this->blinds == another.get_blinds();
}
コード例 #2
0
ファイル: poker.cpp プロジェクト: levka17/FullTiltEquity
table table::operator=(const table & another)
{
	this->size = another.get_size();
	this->pot = another.get_pot();
	this->street = another.get_street();
	this->shared = another.get_cards();
	this->players = another.get_players();
	this->blinds = another.get_blinds();
	return *this;
}