Reflection in C++?

I always thought that there is no reflection in C++ because the latter is totally native. But come to think of it, C++ already has RTTI, so why not add member pointers together with names and metadata to type_info?

Advertisement

Tags: , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.