The class(metaclass) {...} syntax is not part of C++ yet. It is part of a proposal targeted for C++29.
Right, metaclass is a ways off. But even without it, just the core reflection is going to save a ton of boilerplate. Half the template tricks I've written for message parsing were basically hand-rolling what `^T` will just give you.
500 Code(3)
Error: Code(3)
The class(metaclass) {...} syntax is not part of C++ yet. It is part of a proposal targeted for C++29.
Right, metaclass is a ways off. But even without it, just the core reflection is going to save a ton of boilerplate. Half the template tricks I've written for message parsing were basically hand-rolling what `^T` will just give you.