Motivation: To inject either user-defined or internal customizations for given types,
one need to be able to save and retreive such an information prior to the underlying datas.
Actual POCs:
using reader_t = reader_of<int, char, double>;
reader_t::get(input, visitor); // read elements from `input`, and dispatch to `visitor`
Question: Shall we - and if so, how to - remove such compile-time types from reader_of/writer_of ?
One might wanna create a minimalistic marshalling API for basic types (integers, floating-points, strings, and perhaps arbitrary set of bytes), such as:
Motivation: To inject either user-defined or internal customizations for given types,
one need to be able to save and retreive such an information prior to the underlying datas.
Actual POCs:
Question: Shall we - and if so, how to - remove such compile-time types from
reader_of
/writer_of
?One might wanna create a minimalistic marshalling API for basic types (integers, floating-points, strings, and perhaps arbitrary set of bytes), such as: