c++ - How can i find out the difference between two thrift structs? -


i have 2 thrift struct of same type.

struct nestedobject {   1: string name   2: i64 version } struct object {   1: string name   2: i64 version   3: nestedobject object;    4: xyz ..;   5: cbde ..;   // , tons of fields } 

i have object , object b , want find fields differ between 2 objects , b? wouldn't want write simple comparison function check a.name == b.name && a.object.name == b.object.name list can grow indefinitely.


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -