"bearophile" <bearophileh...@lycos.com> wrote in message news:jd6sbg$qb6$1...@digitalmars.com... > Steve Teale: > >> My reading of the current documentation on casts leaves me with the >> impression that D now has only the equivalent of the C++ dynamic_cast. > > I'd like this in Phobos: > http://d.puremagic.com/issues/show_bug.cgi?id=5559 >
Yea, we need various casts in phobos. It's far too easy to accidentally cast away immutable and const.