On Nov 29, 1:32 pm, Daniel Pitts
<newsgroup.spamfil...@virtualinfinity.netwrote:
Ian Collins wrote:
Ramon F Herrera wrote:
Is there some standard (ish) way to build reusable graphic components
in the C++ environment?
Check the archives of this group (c.l.c++), this question is asked
frequently.
As far as I know, standard C++ doesn't have the necessary reflective API
to handle the introspection aspect of JavaBeans.
Thanks for making me look. :-) "Looking up", that is. I had been
wondering about this "reflection" and "introspection", and wondered
whether it was probably a feature of a language called "665++" (for
its inability to see its own reflection) :-)
Now seriously. There are some instances of reflection.
- GUI builders: Matisse does not use reflection, it's just a clumsy
hack. This one, OTOH provides a nice example of how useful and
powerful reflection techniques can be:
http://www.instantiations.com/windowbuilder/ (*)
- Another example of reflection is some types of viruses
- A plain vanilla linker-loader is not an example of reflective
programming.
-Ramon
(*) Since I have been on a quest for having a single IDE for Java and C
++, I wrote to the company above, asking them if they had something
like WindowBuilder (it sure beats the pants of MSVC++'s GUI builder)
for C++. Their response was: "C++? Are people still using that!?". He
added a smiley, though.