27 Sep
2005
27 Sep
'05
4:52 p.m.
"Rene Rivera"
Arkadiy Vertleyb wrote:
"Robert Ramey"
wrote Much fame and fortune will accrue to he who creates the function
template<typename T> char * guid()
which returns a unique char string in a platform independent way.
Might be done pretty easily on top of typeof emulation. Of course, custom type/template registration would be required.
I don't see how typeof helps?
Perhaps "on top" was incorrect and confusing. The typeof emulation works by decomposing the type into nodes, such as types and templates, by the means of template specializations created when types/templates are registered. It should not be difficult to augment the registration macros to add one more specialization dealing with the problem discussed. Regards, Arkadiy