User Tools

Site Tools


c_casting

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
c_casting [2018/02/03 10:19]
rpjday [int{c}]
c_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} =====
c_casting.1517653179.txt.gz ยท Last modified: 2018/02/03 10:19 by rpjday