| ▲ | Chaosvex 8 months ago | |
Thanks, that is definitely a downside to the shift operator overloading approach. I'll take that onboard and investigate whether a single operator to handle both would mesh with the current design. | ||
| ▲ | jcelerier 8 months ago | parent | next [-] | |
You can just use the boost.pfr technique to iterate fields though. Or if you want, starting from C++26 and e.g. clang-21: https://gcc.godbolt.org/z/G1TqP3a8P
or with boost.pfr as a polyfill until then, which allows to do this back to C++14 | ||
| ▲ | lionkor 8 months ago | parent | prev [-] | |
like boost serialize, which overloads the & operator | ||