/// is it being drawn?
bool locked() const { return lockCount_ != 0; }
///
- void unlock() const { --lockCount_; BOOST_ASSERT(lockCount_ >= 0); }
+ void unlock() const { --lockCount_; BOOST_ASSERT(lockCount_ >= 0); }
+
+ ///
+ bool operator==(MacroData const & x) const {
+ return def_ == x.def_ &&
+ numargs_ == x.numargs_ &&
+ disp_ == x.disp_ &&
+ requires_ == x.requires_;
+ }
+ ///
+ bool operator!=(MacroData const & x) const { return !operator==(x); }
private:
///