CScriptSpecialFunction progress & symbol updates

Former-commit-id: 84d590be2f
This commit is contained in:
2022-10-04 20:16:03 -04:00
parent c8528fc2ee
commit e7ecda7a36
20 changed files with 234 additions and 152 deletions

View File

@@ -27,6 +27,8 @@ private:
node* mLeft;
node* mRight;
P mValue;
P& get_value() { return mValue; }
};
struct header {};
@@ -35,12 +37,12 @@ public:
node* mNode;
const header* mHeader;
const P* operator->() const { return &mNode->mValue; }
const P* operator->() const { return &mNode->get_value(); }
bool operator==(const const_iterator& other) const {
return mNode == other.mNode && mHeader == other.mHeader;
}
bool operator!=(const const_iterator& other) const {
return mNode != other.mNode || mHeader != other.mHeader;
return !(*this == other); // mNode != other.mNode || mHeader != other.mHeader;
}
};