clang compat

This commit is contained in:
Michael Davidsaver
2017-06-21 15:20:20 +02:00
parent 00882a4d34
commit f6930ac405

View File

@ -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)