when customValueDiscard is on, value can be discarded only for types T for which CustomValueDiscard is enabled. And ValueDiscard.apply is called when value is discarded.
when customValueDiscard is on, value can be discarded only for types T for which CustomValueDiscard is enabled. And ValueDiscard.apply is called when value is discarded.
- Companion
- object