Is a comparison operator needed

This commit is contained in:
Giles Bathgate 2023-01-30 20:31:19 +00:00
parent 679ee1f870
commit ff6b741afc
1 changed files with 5 additions and 0 deletions

View File

@ -598,6 +598,11 @@ public:
return parray_ != nullptr;
}
#endif
bool operator!=(const Property_map_base& pm) const {
return parray_ != pm.parray_;
}
/// Access the property associated with the key \c i.
reference operator[](const I& i)
{