Files
andri lim c61d4e4bf7 Format versioning facilitate backward compatibility upgrade (#117)
Version behavior
- 0 (original):
  - Reader/Writer using DefaultFlavor
  - SerializationFormat is the Flavor parent type
- 1:
  - Reader/Writer using Format as default flavor
  - Format is the Flavor parent type

Version 1 behavior is useful e.g. Format overloaded the `decode` function.
Then Flavor can reuse the overloaded function without resort to template
workaround.

Replacing the DefaultFlavor with the Format itself also prevent sharing
ambiguity when DefaultFlavor happen to have the same functions/templates
across different Format implementation.
2026-06-16 22:07:42 +07:00
..
2025-11-26 17:18:25 -03:00