This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: compile-time type introspection
- From: Joe Buck <Joe dot Buck at synopsys dot COM>
- To: lallysingh at mac dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 16 Jan 2004 10:36:49 -0800
- Subject: Re: compile-time type introspection
- References: <455438F8-4848-11D8-AEB0-000393123D78@mac.com>
On Fri, Jan 16, 2004 at 12:20:24PM -0500, Lally Singh wrote:
> Hey everyone,
>
> I put together a compile-time introspection system, implemented as a
> patch to G++. I think
> it's fun to play with. There's a README with some instructions on
> installation and the full API
> presented. Would it be worth trying to submit it as a g++ extension?
An extension would require documentation in the manual, also we can't put
things in the std:: namespace that are not, well, std. In any case,
anything that gets added needs to be RIGOROUSLY defined.
There's already some work being done in this area, though I haven't
followed it closely. See
http://gcc.gnu.org/projects/cxx-reflection/
Though there isn't much on that page, you can search the mailing list
for cxx-reflection . See, for example
http://gcc.gnu.org/ml/gcc/2003-05/msg00316.html
for some pointers to papers.