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
Accessing subclass members from a baseclass pointer C++
May 10, 2020
c++
inheritance
virtual-functions
dynamic-cast
static-cast
Safety of static_cast to pointer-to-derived class from base destructor
Oct 09, 2022
c++
casting
language-lawyer
static-cast
should I use it or static_cast<void*> then static_cast<myType*> to avoid reinterpret_cast?
Mar 04, 2021
c++
casting
reinterpret-cast
static-cast
Why go through the trouble of static_cast-ing a number to a double?
Sep 24, 2022
c++
casting
double
static-cast
static_cast from 'const unsigned char *const *' to 'const char *const *' is not allowed
Aug 11, 2022
c++
static-cast
Can vtable overhead be avoided using a static_cast?
Oct 22, 2022
c++
vtable
overhead
static-cast
C++ proper way to static_cast
Aug 31, 2022
c++
exception
casting
static-cast
C++ static_cast from int* to void* to char* - can you help me to understand this code?
May 03, 2018
c++
static-cast
Conversion operator implemented with static_cast
Sep 29, 2021
c++
standards
crtp
static-cast
conversion-operator
reinterpret_cast / static_cast and undefined behavior
Feb 27, 2018
c++
c++11
variant
reinterpret-cast
static-cast
Why is static_cast of void* to another type allowed?
Jun 21, 2022
c++
pointers
casting
void-pointers
static-cast
Are there performance risks for using static_cast to deal with a vector of mixed (base & derived) objects? (aka "it this a dumb idea?")
Feb 21, 2022
c++
vector
static-cast
ambiguous call to overloaded function
May 16, 2018
c++
overloading
static-cast
Why is a cast operator to std::optional ignored?
Sep 18, 2022
c++
casting
operator-overloading
c++17
static-cast
Why is static_cast on an expression acting distributively?
Nov 10, 2022
c++
casting
static-cast
What does static_cast<T> do to a T&?
May 29, 2022
c++
casting
reference
rvalue
static-cast
Can static_cast turn a non-null pointer into a null pointer?
Nov 07, 2022
c++
visual-c++
pointers
static-cast
static_cast void* char* vs static_cast void** char**
Oct 29, 2022
c++
casting
static-cast
Is my method for avoiding dynamic_cast<> faster than dynamic_cast<> itself?
Nov 15, 2019
c++
polymorphism
dynamic-cast
static-cast
May I have a real life example where casting through void* works and reinterpret_cast doesn't?
Oct 31, 2022
c++
casting
reinterpret-cast
static-cast
« Newer Entries
Older Entries »