When should static_cast, dynamic_cast, const_cast and reinterpret_cast be used?
Regular cast vs. static_cast vs. dynamic_cast [duplicate]
In C++, why use static_cast<int>(x) instead of (int)x?
When to use reinterpret_cast?
Casting pointer to struct to pointer to struct with const member
Casting allocated memory through double pointer
Java's +=, -=, *=, /= compound assignment operators
Do I cast the result of malloc?
Convert boolean to int in Java
How to convert an array to object in PHP?
Integer division: How do you produce a double?
How to convert a factor to an integer umeric without a loss of information?
How to check that a string is an int, but not a double, etc.?
In Objective-C, what is the equivalent of Java's “instanceof” keyword?
How do I check if a string is a number (float) in Python?
Safely casting long to int in Java
Cast Int to enum in Java
How do you cast a List of supertypes to a List of subtypes?
Convert Int to String in Swift
Fastest way to convert string to integer in PHP
Cast Double to Integer in Java
Convert String to double in Java