clang compat
This commit is contained in:
1 parent
00882a4d34
commit
f6930ac405
1 file changed
+8
@@ -185,6 +185,14 @@ public:
|
||||
throw std::runtime_error("Bad key");
|
||||
return ret;
|
||||
}
|
||||
bool operator==(const value_pointer& v) const
|
||||
{
|
||||
return M.find(k)==v;
|
||||
}
|
||||
bool operator!=(const value_pointer& v) const
|
||||
{
|
||||
return !(*this==v);
|
||||
}
|
||||
};
|
||||
|
||||
inline element_proxy operator[](const K& k)
|
||||
|
||||
Reference in new issue
Block a user