Commit a1a03d6
committed
RunTimeTyped : IECore::assertedStaticCast allow null source pointer
* use approach taken by boost polymorphic_downcast and compare source
pointer to casted pointer, this has added benefit of not compiling
if Target type cannot be converted to Source type so should detect
programming errors at compile time.1 parent 98eb5b8 commit a1a03d6
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments