|
idfxx 1.0.0
Modern C++23 components for ESP-IDF
|
Concept for types that can be received as event data. More...
Concept for types that can be received as event data.
A type satisfies receivable_event_data if it is trivially copyable (allowing automatic reconstruction via static cast) or provides a static from_opaque(const void*) method for custom reconstruction.
Trivially copyable types satisfy this concept automatically without needing to provide from_opaque. Types that require custom reconstruction (e.g., wrapping C structs into richer C++ types) can provide a static from_opaque method instead.
| T | The type to check. |