Search code examples
Is it safe to delete static casted pointer?...


c++pointersdynamic-caststatic-cast

Read More
c++ useless-cast from size_t to uint32_t for different targets...


c++gccstatic-cast

Read More
Why does modulo division go wrong for mix of size_t and unsigned int in C++...


c++static-cast

Read More
Value-based upcast...


c++undefined-behaviorstatic-cast

Read More
"static_cast" with pointers and objects in C++...


c++c++11castingdynamic-caststatic-cast

Read More
Casting a negative const double to unsigned results in 0 while non-const double is fine...


c++constantsstatic-cast

Read More
Use static cast because dynamic cast fails. Bad practice?...


c++dynamic-caststatic-cast

Read More
Is it possible to dynamic_cast between two unrelated types, if they share a common (possibly unknown...


c++templatespolymorphismdynamic-caststatic-cast

Read More
My teacher is not type-casting the same way as everyone else. Does anyone know what he is doing?...


c++inheritancecastingstatic-cast

Read More
Static_cast no matching function for call...


c++static-cast

Read More
What is the difference between static_cast and Implicit_cast?...


c++booststatic-castboost-implicit-cast

Read More
How to use static_cast with a custom object?...


c++doublestatic-cast

Read More
A trick to enable casting over non-public inheritances...


c++language-lawyerprotectedstatic-castupcasting

Read More
Interpreting static_cast "static_cast<void (Pet::*)(int)>" syntax?...


c++pybind11static-cast

Read More
Constexpr check if static_cast of pointers between two hierarchically related types changes the poin...


c++language-lawyerstatic-cast

Read More
What is the idiom here when static_cast is used on null pointer?...


c++nullpointer-arithmeticstatic-cast

Read More
Assign a small number to unsigned long long data-type without casting...


c++castingstatic-cast

Read More
Is static_cast creating new child object?...


c++pointersinheritancecastingstatic-cast

Read More
static_cast in default argument value...


c++castingstatic-cast

Read More
static_cast taking away constness...


c++static-castconst-cast

Read More
static_cast safety...


c++castingstatic-cast

Read More
Bizarre static_cast trick?...


c++qtcastingstatic-cast

Read More
static_cast<int> of std::initializer_list::size_type spits out "invalid conversion" ...


c++vectorstlstatic-caststdinitializerlist

Read More
Trying to get an int by wraping it into void* and again wrap it back into Integer but i am not succe...


c++castingstatic-cast

Read More
What is the recommended way to convert from long long int to uint64_t?...


c++static-cast

Read More
Why static_cast enum class that underlying type is int8_t to get an unexpected value?...


c++static-castenum-class

Read More
static_cast seems to work when it can't possibly work...


c++static-cast

Read More
How do I statically assert that a static_cast is noexcept?...


c++static-caststatic-assertnoexcept

Read More
Is my method for avoiding dynamic_cast<> faster than dynamic_cast<> itself?...


c++polymorphismdynamic-caststatic-cast

Read More
Using static_cast correctly in MFC...


c++static-cast

Read More
BackNext