|
idfxx 1.0.0
Modern C++23 components for ESP-IDF
|
Concept for types that can be both received and posted as event data. More...
Concept for types that can be both received and posted as event data.
A type satisfies event_data if it can be received and is trivially copyable, allowing ESP-IDF to memcpy it into the event queue. Trivially copyable types satisfy both this and receivable_event_data without needing from_opaque.
Types that are only received (e.g., system event data from ESP-IDF that wraps non-trivial C++ types) need only satisfy receivable_event_data.
| T | The type to check. |