TypeInfo manipulation

Zhenya zheny at list.ru
Fri Oct 26 12:57:13 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?
>
> 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?

Or maybe there are a possibility to parametrize class by TypeInfo?


More information about the Digitalmars-d-learn mailing list