File: documentation

package info (click to toggle)
widelands 1%3A17-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 332,404 kB
  • sloc: cpp: 104,978; python: 3,073; ada: 855; sh: 435; makefile: 225
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)