c_casting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
c_casting [2018/02/03 10:10] – created rpjdayc_casting [2018/02/04 09:24] (current) rpjday
Line 2: Line 2:
  
 Various forms of casting in C++. Various forms of casting in C++.
 +
 +===== Types of casts =====
 +
 +==== static_cast ====
 +
 +[[http://en.cppreference.com/w/cpp/language/static_cast|Here]].
 +
 +==== reinterpret_cast ====
 +
 +[[http://en.cppreference.com/w/cpp/language/reinterpret_cast|Here]].
 +
 +==== dynamic_cast ====
 +
 +[[http://en.cppreference.com/w/cpp/language/dynamic_cast|Here]].
 +
 +==== const_cast ====
 +
 +[[http://en.cppreference.com/w/cpp/language/const_cast|Here]].
  
 ===== int{c} ===== ===== int{c} =====
  
 Read about it [[https://stackoverflow.com/questions/42975620/in-c-can-we-use-for-c-style-casting|here]]. Read about it [[https://stackoverflow.com/questions/42975620/in-c-can-we-use-for-c-style-casting|here]].
 +
 +From TC++PL4, "the int we can construct from c".
  • c_casting.1517652659.txt.gz
  • Last modified: 2018/02/03 10:10
  • by rpjday