[Issue 16464] opCast doco is insufficient

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Sep 2 05:50:50 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16464

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com

--- Comment #1 from Steven Schveighoffer <schveiguy at yahoo.com> ---
The table does say, cast(T)u is rewritten to u.opCast!(T)()

Probably could be spelled out better to indicate that's the ONLY case where
opCast is used (aside from the boolean for if clauses)

--


More information about the Digitalmars-d-bugs mailing list