Runtime type information

andre via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 10 07:49:04 PDT 2014


I just saw, there is also dip 8.

As a suggestion, instead of a compiler switch , we could 
introduce an interface IPersistent. By implementing this 
interface in your actual class, rtti would be available/generated.

What do You think?

Kind regards
André

On Thursday, 9 October 2014 at 16:15:08 UTC, andre wrote:
> Hi,
>
> I just stubmled over an enhancement in object_.d and object.di 
> Benjamin Thaut described on his page: 
> http://3d.benjamin-thaut.de/?p=25#more-25.
>
> The enhancement looks quite good and handy for me and would be 
> a quick win to have some more runtime type information in the 
> language.
> Does it worth to create a pull request?
>
> Kind regards
> André



More information about the Digitalmars-d mailing list