[#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); ---- == 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]#