Next: Field Endianness, Previous: Struct Constructors, Up: Structs [Contents][Index]
The equality operator (==) and the inequality operator (!=) can be applied to struct values. Examples:
==
!=
(poke) E_eof == E_eof 1 (Poke) Packet { payload=0x3 } != Packet { payload=0x4 } 1
The struct values are compares recursively.