Signed-off-by: Sage Weil <sage@redhat.com>
return out << av.v;
}
}
+
+ friend bool operator==(const entity_addrvec_t& l, const entity_addrvec_t& r) {
+ return l.v == r.v;
+ }
+ friend bool operator!=(const entity_addrvec_t& l, const entity_addrvec_t& r) {
+ return l.v != r.v;
+ }
+ friend bool operator<(const entity_addrvec_t& l, const entity_addrvec_t& r) {
+ return l.v < r.v; // see lexicographical_compare()
+ }
};
WRITE_CLASS_ENCODER_FEATURES(entity_addrvec_t);