1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Implement operator== and operator!= for SetVector.

llvm-svn: 105508
This commit is contained in:
Dan Gohman 2010-06-05 00:26:02 +00:00
parent b8bc51b307
commit e1853a7473

View File

@ -143,6 +143,14 @@ public:
vector_.pop_back();
}
bool operator==(const SetVector &that) const {
return vector_ == that.vector_;
}
bool operator!=(const SetVector &that) const {
return vector_ != that.vector_;
}
private:
set_type set_; ///< The set.
vector_type vector_; ///< The vector.