safer casts - take II

terranium spam at here.lot
Tue May 13 13:22:03 PDT 2008


BCS Wrote:

> I'm not seeing it, example please?

void foo(T arg)
{
  auto handle=myhashtable[arg.classinfo];
  //handle can be data or delegate for increased functionality
}



More information about the Digitalmars-d mailing list