Skip to content

Releases: tirimatangi/CoFSM

Type safety improved + objects in Event storage destroyed automatically

09 Feb 20:33
734fccd
Compare
Choose a tag to compare
  1. Operator >> of Event is now type safe, meaning that "event >> pData;" throws if pData is not a pointer to the type of the object in event's storage.
  2. Calling event.destroy(pData) to destroy the object in the storage is not required anymore. The object will be destructed automatically when the next object is constructed into the storage.

Library and examples added.

03 Feb 17:48
28cd71b
Compare
Choose a tag to compare

Verified that the examples work.