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
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
behavior of const_cast in C++ [duplicate]
Aug 29, 2022
c++
undefined-behavior
const-cast
Does casting away constness from "this" and then changing a member value invoke undefined behaviour?
Aug 18, 2022
c++
constants
standards-compliance
const-cast
How to find by a const pointer key in a map with non-const pointer keys
Mar 18, 2022
c++
stl
const-correctness
const-cast
const-pointer
Does this const initialization through const_cast have undefined behaviour?
Apr 02, 2022
c++
initialization
undefined
undefined-behavior
const-cast
Can one override my const C++ member function returning a const pointer to a internal non-const array using const_cast?
Nov 08, 2022
c++
const-cast
Is it possible to cast a pair<Key, Value> to a pair<const Key, Value>?
May 10, 2022
c++
stl
constants
const-cast
std-pair
What value does const void * offer over void *?
Mar 20, 2022
c++
constants
void-pointers
reinterpret-cast
const-cast
Is this undefined behavior with const_cast? [duplicate]
Oct 24, 2022
c++
const-cast
C++ const cast, unsure if this is secure
Aug 25, 2019
c++
const-cast
Is this const_cast undefined behavior?
Oct 20, 2022
c++
const-cast
Where is the undefined behavior when using const_cast<>?
Nov 07, 2022
c++
undefined-behavior
const-cast
const_cast rules in c++
Apr 24, 2022
c++
constants
shared-ptr
const-cast
Can we use `const_cast` to modify a constant variable? [duplicate]
Oct 21, 2022
c++
compiler-optimization
volatile
const-cast
Does const_cast ever cause actual code emission?
Nov 13, 2022
c++
constants
memory-model
const-cast
data-representation
const_cast in template. Is there a unconst modifier?
Aug 23, 2022
c++
templates
constants
const-cast
« Newer Entries
Older Entries »