Skip to content

Commit

Permalink
fix Issue 1563 - dynamic cast is not always performed
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Jan 22, 2012
1 parent df87de0 commit 34b168f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions expression.dd
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,9 @@ else
}
-------------

$(P Casting a pointer type to and from a class type is done as a type paint
(i.e. a reinterpret cast).)

$(P Casting a floating point literal from one type to another
changes its type, but internally it is retained at full
precision for the purposes of constant folding.
Expand Down

0 comments on commit 34b168f

Please sign in to comment.