All I want is better compile time metaprogramming support so I can do things like this:
struct Stuff {
int x;
float y;
std::string s;
};
int main() {
Stuff stuff = getStuff();
for comptime (auto &r : stuff) {
std::cout << nameof(deref(r)) << " = " << r << "\n":
}
}
Comment too long. Click here to view the full text.