Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in static-cast
Can you static_cast "this" to a derived class in a base class constructor then use the result later?
Jun 28, 2026
c++
constructor
language-lawyer
static-cast
Casting to different Base classes gives different result. C++
Jun 26, 2026
c++
inheritance
casting
reinterpret-cast
static-cast
static_cast on integer to enum conversion
Jun 20, 2026
c++
casting
enums
static-cast
Interpreting static_cast "static_cast<void (Pet::*)(int)>" syntax?
May 30, 2026
c++
pybind11
static-cast
Why type casting of const void* is legal in C not C++ without using static_cast
May 15, 2026
c++
casting
reinterpret-cast
static-cast
const-cast
Polymorphism: is this (potentially intensive) use of static_cast a fatality?
Apr 25, 2026
c++
polymorphism
abstract-class
static-cast
Does static_cast makes the compiler allocate more space than what it is meant to by new operator?
Apr 22, 2026
c++
pointers
inheritance
memory
static-cast
Why is only static_cast able to return new object of requested type?
Apr 12, 2026
c++
dynamic-cast
reinterpret-cast
static-cast
const-cast
C++ overloaded function pointer ambiguity
Apr 11, 2026
c++
function-pointers
static-cast
virtual functions and static_cast
Mar 09, 2026
c++
casting
static-cast
My teacher is not type-casting the same way as everyone else. Does anyone know what he is doing?
Feb 13, 2026
c++
inheritance
casting
static-cast
C++: unusual operator overloading
Feb 08, 2026
c++
operator-overloading
operator-keyword
static-cast
Will int to double conversion round up, down or to nearest double?
Dec 20, 2025
c++
floating-point
rounding
static-cast
floating-point-conversion
What's wrong with using dynamic_cast or static_cast when accessing known derived class objects stored in vector<base*>?
Dec 08, 2025
c++
inheritance
vector
dynamic-cast
static-cast
static_cast and RTTI vs dynamic_cast
Dec 02, 2025
c++
dynamic-cast
static-cast
Casting a negative const double to unsigned results in 0 while non-const double is fine
Oct 22, 2025
c++
constants
static-cast
static_cast VS reinterpret_cast when casting pointers to pointers
Oct 16, 2025
c++
reinterpret-cast
static-cast
Older Entries »