If you want to parse a file format containing certain tokens, what is the best way of representing these tokens in your C++ code?
constexpr (thus also inline) variables
pre-processor macros
...
It is likely that only a reader and a writer will use the tokens (2x TUs).
↧