Alexander Nasonov <[EMAIL PROTECTED]> writes: > Well, sometimes it's needed at compile-time. Though, I don't know how useful > it is. Can you give an example?
Heh, you caught me! Well, if the (member) (function) pointers are available at compile time they can be inlined away so that using them becomes more efficient. Suppose I want to write serialization code? Can you serialize/deserialize with a runtime-only framework? > Some other questions. How to map member pointers to names? Add a char const* const parameter? Have an additional parallel array of names? > How to find a member? By name? By reverse-indexing whatever structure answers the previous question, of course! -- Dave Abrahams Boost Consulting www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost