Re:Named tuple for C++
by marshray on Saturday January 02, 2016 @07:00PM
(#10828683)
It's been a while since I even considered doing something like this, but you could probably generate them by recursively inheriting from a chain of generated base classes.
That said, most everyone who's looked at the problem has ended up going with macros instead. :-)
That said, most everyone who's looked at the problem has ended up going with macros instead. :-)