[#operator_eq-0c2] = operator== :mrdocs: Returns whether two addresses have equal time, service flags, and endpoint. == Synopsis Declared in `<protocol.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:CAddress.adoc[CAddress] const& a, xref:CAddress.adoc[CAddress] const& b); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:CAddress.adoc[CAddress], declared only inside that class: it can be found only through argument-dependent lookup. ==== == Return Value true if both addresses have equal time, service flags, and endpoint. == Parameters [cols="1,4"] |=== | Name| Description | *a* | The left‐hand address. | *b* | The right‐hand address. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#