[Issue 5559] A static down cast in Phobos

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 18 10:03:16 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=5559



--- Comment #3 from bearophile_hugs at eml.cc 2012-12-18 10:03:16 PST ---
(In reply to comment #2)
> I think we should rather add this to the documentation than as a function into
> Phobos. We don't want to encourage using this but we do want to show it's
> possible to do it.

So people that want it write their own possibly buggy version, or copy&paste
from the documentation their own version, with other possible copying mistakes.

That's wrong. If it's an useful functionality it should be in Phobos, with
unittests. If it's not useful it should be left here in bugzilla.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list