template<const char * debug_type_name>
struct spicy::rt::filter::State< debug_type_name >
Type holding state for filter operations inside types that can either act as filters or receive filtered input.
- Note
- The important thing for such types is that they offer these fields themselves, although not necessarily through this actual type. In particular, the unit structs that the Spicy code generator produces, include these fields directly; they are not using this type. This type is meant primarily for the runtime library when it needs to interface with filters (like sinks do).
- Template Parameters
-
debug_type_name | name used (only) in debug output to identify to the type |
- Todo:
- (robin): Can/should we switch generated unit types over to using this struct as well?