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 11:34]
rpjday [Overview]
c_casting [2018/02/04 09:24] (current)
rpjday
Line 3: Line 3:
 Various forms of casting in C++. Various forms of casting in C++.
  
-===== Types =====+===== Types of casts =====
  
-  * ''​static_cast''​ +==== static_cast ​====
-  * ''​reinterpret_cast''​ +
-  * ''​dynamic_cast''​ +
-  * ''​const_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.1517657677.txt.gz · Last modified: 2018/02/03 11:34 by rpjday