Article about problems & suggestions for D 2.0
David Nadlinger
see at klickverbot.at
Sun Aug 28 15:56:18 PDT 2011
On 8/28/11 10:52 PM, Andrei Alexandrescu wrote:
> 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 hope this finally goes through, there still seem to be some –
hurricane-related, probably – stability issues with the server. Anyway,
a library solution is definitely what I am thinking about, especially
since it's just a matter of a template with a fitting constraint. But as
said in my other post (that also took quite a few attempts to post), I
think such casting templates would make most sense if standardized, i.e.
included with Phobos.
David
More information about the Digitalmars-d
mailing list