File: documentation

package info (click to toggle)
widelands 1%3A12-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 118,052 kB
  • ctags: 9,799
  • sloc: cpp: 71,051; python: 1,368; ada: 444; sh: 292; makefile: 282; objc: 274
file content (4 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (3)
1
2
3
4
This catches upcasts like this:
   Some_Type * const an_identifier = dynamic_cast<Some_Type *>(source)
This is unnecessarily verbose and should be abbreviated with the upcast macro:
   upcast(Some_Type, an_identifier, source)