2 ms·
There is a nasty trick which uses structured binding to convert an arbitrary aggregate to a tuple. That still doesn't help if you want the fields names.
by gpderetta 4y ago
There is a nasty trick which uses structured binding to convert an arbitrary aggregate to a tuple.
That still doesn't help if you want the fields names.
- chakkepolja 4y agoYou have any link?
- gpderetta 4y agoSomething like this: https://github.com/apolukhin/magic_get https://github.com/apolukhin/magic_get
- chakkepolja 4y agoThanks. This may be useful for me someday.