|
Boost Users : |
From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2005-09-27 11:52:55
"Rene Rivera" <grafik.list_at_[hidden]> wrote
> Arkadiy Vertleyb wrote:
> > "Robert Ramey" <ramey_at_[hidden]> 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net