Skip to content

Type safety improved + objects in Event storage destroyed automatically

Latest
Compare
Choose a tag to compare
@tirimatangi tirimatangi released this 09 Feb 20:33
· 1 commit to main since this release
734fccd
  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.