News for hackers. Stuff that matters.
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. :-)

Re:Named tuple for C++ by tines on Monday January 04, 2016 @02:06PM (#10837704)
I'm not sure you could do what this does and give the members of the struct a user-supplied name though.