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
Cast float to int, or int to float?
Feb 27, 2022
c++
constants
static-cast
old-style simple cast precedence in c++
Jul 13, 2022
c++
casting
operator-precedence
static-cast
Static cast vs. dymamic cast for traversing inheritance hierarchies
Aug 16, 2022
c++
casting
rtti
dynamic-cast
static-cast
Why does static_cast gives different memory locations for same object?
May 29, 2022
c++
inheritance
memory-address
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
« Newer Entries
Older Entries »