TypeInfo manipulation
Maxim Fomin
maxim at maxim-fomin.ru
Sat Oct 27 06:03:42 PDT 2012
On Thursday, 25 October 2012 at 15:05:05 UTC, Zhenya wrote:
> Hi!
> Tell me please,are any TypeInfo/typeid/classinfo manipulations
> possible?
> For example I need a struct that overload typeid, or something
> like that?
It is impossible to overload typeid typeinfo.
> Some time ago I tried to write some smart pointer that overlad
> classinfo property in accordance with the real type of hold
> object,but I failed to do this becouse of
> not having possibility to declar static and non-static version
> of the one function.Maybe there are better ways to do this?
I can barely understand what exactly you were doing. If you post
some code example it will probably help to find solution.
More information about the Digitalmars-d-learn
mailing list