コード例 #1
0
ファイル: connection.cpp プロジェクト: BianJian/mmo
void
Connection::copy(const Connection& other)
{
	error_message_.clear();
	set_exceptions(other.throw_exceptions());
	driver_->copy(*other.driver_);
}
コード例 #2
0
ファイル: query.cpp プロジェクト: ledusledus/meos
Query&
Query::operator=(const Query& rhs)
{
	set_exceptions(rhs.throw_exceptions());
	set_lock(rhs.locked());
	def = rhs.def;
	conn_ = rhs.conn_;
	success_ = rhs.success_;

	return *this;
}