diff options
author | Neil <nyamatongwe@gmail.com> | 2016-05-03 12:12:23 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2016-05-03 12:12:23 +1000 |
commit | e3783223da84055c7ad9cc5bead37d2649166170 (patch) | |
tree | 3d8dc08d934ca58e0a00f05b3ade12fe790d4729 /doc/SciCoding.html | |
parent | c6cbb4d76afafbd4aa496fee7e3f8f8add1a5527 (diff) | |
download | scintilla-mirror-e3783223da84055c7ad9cc5bead37d2649166170.tar.gz |
Current builds allow RTTI and dynamic_cast is used on GTK+ and Cocoa.
Diffstat (limited to 'doc/SciCoding.html')
-rw-r--r-- | doc/SciCoding.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/SciCoding.html b/doc/SciCoding.html index 7edcbfebf..2e6e211c7 100644 --- a/doc/SciCoding.html +++ b/doc/SciCoding.html @@ -145,8 +145,7 @@ <p> Do not use old C style casts like (char *)s. Instead use the most strict form of C++ cast possible like const_cast<char *>(s). Use static_cast and const_cast - where possible rather than reinterpret_cast. Because the code is compiled with - run-time type information turned off, dynamic_cast will not work. + where possible rather than reinterpret_cast. </p> <p> The benefit to using the new style casts is that they explicitly detail what evil is |