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 const-cast
Can not use dynamic_cast to a const object
Dec 04, 2022
c++
constants
dynamic-cast
const-cast
Is const_cast valid in a constant expression? (C++14, C++17)
Jan 09, 2022
c++
language-lawyer
constexpr
const-cast
constant-expression
Is there a reason to use const_cast on a string literal in this code?
Oct 20, 2022
c++
c++11
string-literals
const-cast
is using const_cast regularly as a design tool acceptable?
Nov 21, 2022
c++
const-cast
What's the difference between char * and const_cast<char*>(string.c_str())
Jun 13, 2020
c++
char
const-cast
osc
static_cast taking away constness
Apr 13, 2022
c++
static-cast
const-cast
C++17 Standard - Cast away const of static
Sep 15, 2022
c++
language-lawyer
c++17
const-cast
const_cast and UB
Jun 09, 2022
c++
undefined-behavior
const-cast
const_cast doesn't work c++? [duplicate]
Jun 06, 2022
c++
const-cast
Lifetime extension of temporary by non-const reference using const-cast
Oct 27, 2022
c++
language-lawyer
object-lifetime
const-cast
Is it UB to call a non-const method on const instance when the method does not modify members? [duplicate]
Jun 24, 2022
c++
constants
language-lawyer
const-cast
Need clarifications in C-style, reinterpret, and const casts
Oct 28, 2022
c++
casting
reinterpret-cast
const-cast
Compiler switch to disable const_cast semantics in c-style casts?
Oct 04, 2022
c++
casting
compiler-options
const-cast
Is an attempt to modify a const_cast-ed, but dynamically allocated constant object still undefined behavior? [duplicate]
Nov 17, 2022
c++
compiler-optimization
heap-memory
undefined-behavior
const-cast
Const casting empty base class
Mar 09, 2022
c++
c++14
language-lawyer
c++17
const-cast
Filling a std::array at compile time and possible undefined behaviour with const_cast
Feb 03, 2022
c++
c++14
undefined-behavior
constexpr
const-cast
Why is writing to a non-const object after casting away const of pointer to that object not UB?
Aug 26, 2022
c++
constants
undefined-behavior
const-correctness
const-cast
Is using const_cast for read-only access to a const object allowed?
Nov 30, 2018
c++
casting
constants
undefined-behavior
const-cast
Why is (int&)0 ill-formed?
Sep 07, 2022
c++
casting
language-lawyer
static-cast
const-cast
« Newer Entries
Older Entries »