bool cmpMetadataByKey(const Metadatum& lhs, const Metadatum& rhs) { return lhs.key() < rhs.key(); }
/*! @brief Returns true if the key of the argument metadatum is equal to that of the object. */ bool operator()(const Metadatum& metadatum) const { return key_ == metadatum.key(); }