示例#1
0
文件: Uuid.cpp 项目: brics/brics_3d
bool Uuid::operator <(const Uuid& other) const {
	return std::lexicographical_compare(this->begin(), this->end(),
			other.begin(), other.end());
}
示例#2
0
文件: Uuid.cpp 项目: brics/brics_3d
void Uuid::swap(Uuid& other) {
	std::swap_ranges(begin(), end(), other.begin());
}
示例#3
0
文件: Uuid.cpp 项目: brics/brics_3d
bool Uuid::operator ==(const Uuid& other) const {
	return std::equal(this->begin(), this->end(), other.begin());
}