From: David Abrahams (dave_at_[hidden])
Date: 2006-02-03 19:33:08
Edward Diener <eddielee_at_[hidden]> writes:
> I think it is a commendable goal in Reflex to be able to reflect the
> parameter types for any given template instantiation, since this
> information may be valuable and usable at run-time. After all, at
> run-time, information about a template type should be just as accesible
> regarding finding type information than any other type. One of the
> pieces of information about a template type is the parameter types which
> are used to instantiate the template, so run-time reflection should
> include such information. But I feel that information about the template
> declaration/definition itself belongs in the realm of a compile-time
> reflection system, not a run-time reflection system, and can serve no
> purpose in a run-time reflection system.
Even if the run-time reflection system is generating code?
The boundaries are a lot more fluid than you probably imagine.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk