[#operator_eq-012] = operator== :mrdocs: Compare two extended public keys for equality of all fields (excluding version). == Synopsis Declared in `<pubkey.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:CExtPubKey.adoc[CExtPubKey] const& a, xref:CExtPubKey.adoc[CExtPubKey] const& b); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:CExtPubKey.adoc[CExtPubKey], declared only inside that class: it can be found only through argument-dependent lookup. ==== == Return Value true if depth, fingerprint, child index, chain code and pubkey are equal. == Parameters [cols="1,4"] |=== | Name| Description | *a* | The left‐hand extended public key. | *b* | The right‐hand extended public key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#