Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
December 02, 2010 [Issue 5308] New: std.conv documentation is behind implementation | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=5308 Summary: std.conv documentation is behind implementation Product: D Version: D2 Platform: Other URL: http://digitalmars.com/d/2.0/phobos/std_conv.html OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: websites AssignedTo: nobody@puremagic.com ReportedBy: Jesse.K.Phillips+D@gmail.com CC: Jesse.K.Phillips+D@gmail.com --- Comment #0 from Jesse Phillips <Jesse.K.Phillips+D@gmail.com> 2010-12-01 22:12:02 PST --- The documentation on std.conv claims that to! will use a method called to in a class to make conversions. This has not been true for some time now. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 02, 2010 [Issue 5308] std.conv should also use a to function to convert to other class types | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | http://d.puremagic.com/issues/show_bug.cgi?id=5308 Jesse Phillips <Jesse.K.Phillips+D@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|websites |Phobos Summary|std.conv documentation is |std.conv should also use a |behind implementation |to function to convert to | |other class types Severity|normal |enhancement --- Comment #1 from Jesse Phillips <Jesse.K.Phillips+D@gmail.com> 2010-12-02 09:19:25 PST --- Sorry, was testing it on classes, but the to function is used when it is not a class. So I have made it an enhancement request. And the request is either to allow it for classes also, or remove it for non-classes and use opCast instead. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 09, 2011 [Issue 5308] std.conv should also use a to function to convert to other class types | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | http://d.puremagic.com/issues/show_bug.cgi?id=5308 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei@metalanguage.com AssignedTo|nobody@puremagic.com |andrei@metalanguage.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 18, 2012 [Issue 5308] std.conv should also use a to function to convert to other class types | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | http://d.puremagic.com/issues/show_bug.cgi?id=5308 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |andrej.mitrovich@gmail.com Resolution| |FIXED --- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-18 11:30:26 PST --- The `to` method version is now deprecated and opCast is expected instead: http://dlang.org/phobos/std_conv.html#toImpl -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation