reflection

Started by
3 comments, last by Oluseyi 19 years, 4 months ago
hi! is there something like reflection also in c++? i can`t use java or the .net languages. thx
Advertisement
Hint: if you want an answer, don't have the users wonder what your question means. Reflection is not that known of an API that anyone knows about it.

For anyone else, this is reflection, or so I found on google.

But I personnally doubt something like this exists in C++. Why can't you use java or .net? Do you have access to other languages besides C++?
Quote:Original post by ToohrVyk
Reflection is not that known of an API...
Reflection is not an API. Reflection is a language technology, the ability of the language to construct objects that represent a class type, thus providing a runtime programmatic interface to arbitrary type information.

Java has reflection, .NET has reflection, Python has reflection, and LISP is pretty much all reflection (you can rewrite the language while you're at it!)

C++ does not natively provide reflection services, but there are third-party packages that do such as the SEAL C++ Reflection libraries.
Thank you for the information, Oluseyi.
You're welcome.

This topic is closed to new replies.

Advertisement