• Dominik Charousset's avatar
    Unify serialize and to_string API via inspect · 72a77e03
    Dominik Charousset authored
    Replace existing `to_string`/`serialize` function pair with a single `inspect`.
    This change is backwards compatible, i.e., serializers and deserializers pick
    up `serialize` functions via ADL if available. User-defined `to_string`
    functions are preferred over `inspect`. Formatting hints and other meta
    information that can be evaluated by inspectors are realized with annotations.
    Close #470.
    72a77e03
all.hpp 13 KB