Andrei Alexandrescu:

> It is quite easy to define C++-like cast operators as D functions. If 
> there's enough demand for that, we may include such in the standard library.

I'd like this one in Phobos:
http://d.puremagic.com/issues/show_bug.cgi?id=5559

Having it in Phobos is hopefully better than creating your own one from scratch 
when the need arises.

Bye,
bearophile

Reply via email to