``` void print_members(T const& obj) { [:expand(nonstatic_data_members_of(^^T)):] ```
What is this ^^?
``` void print_members(T const& obj) { [:expand(nonstatic_data_members_of(^^T)):] ```
What is this ^^?
However many of us would have prefered reflect(T), but again many on WG21 seem to use notepad for programming and don't like to type.
It means the reflection data of the type.
Which… were never added to C++, right? What a mess.
Personally I would rather have reflect.
Why does that matter?
> many of us would have prefered reflect(T), but again many on WG21 seem to use notepad for programming and don't like to type.
I don't know about anyone else, but I find reflect(T) much easier to type than ^^T. I have a high error rate on hitting 6. Not only that I have to move my hand from the home row to hit it.
Ultimetely that is how ISO driven languages work, features get decided by those willing to join the process, and vote on what features become part of the next language standard.
https://github.com/search?q=lang%3AObjective-C%2B%2B+&type=r...
all of those would instantly break.
I develop a C++ / Qt software that also ships on macOS and some parts of the macOS API are only realistically useable from Obj-C / Obj-C++ so any C++ software that wants deeper integration with the OS there must work with Objective-C++.