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
const_cast of a static const member
Nov 07, 2019
c++
static
constants
member
const-cast
Remove const-ness from a variable
Oct 31, 2022
c++
casting
constants
const-cast
Avoiding const_cast when calling std::set<Type*>::find
Nov 06, 2022
c++
set
constants
const-cast
Is it safe to remove const via const_cast and invoke a non-const function that does not modify the resulting object?
Mar 14, 2022
c++
const-cast
Undefined behaviour with const_cast
Mar 28, 2022
c++
undefined-behavior
const-cast
Efficiently const_cast-ing a constant reference parameter
Nov 16, 2022
c++
parameters
reference
constants
const-cast
Modifying element of const std::vector<T> via const_cast
Sep 16, 2022
c++
stl
language-lawyer
stdvector
const-cast
What is a multilevel pointer?
Oct 21, 2022
c++
c
pointers
constants
const-cast
Why does const_cast remove constness for a pointer but not for a pointer to a const?
Sep 17, 2022
c++
const-cast
C++: Why is const_cast evil?
Sep 14, 2022
c++
pointers
casting
constants
const-cast
C++ difference between adding const-ness with static_cast and const_cast of "this" object?
Sep 14, 2022
c++
static-cast
const-cast
How to convert "pointer to pointer type" to const?
Sep 14, 2022
c++
constants
const-cast
Am I right in saying that const_cast followed by modification on a ref-to-const bound to a temporary is okay?
Sep 23, 2022
c++
reference
constants
const-cast
temporary-objects
Convert const char* to QString
Jun 11, 2021
c++
qt
qstring
qtcore
const-cast
Is it allowed to cast away const on a const-defined object as long as it is not actually modified?
Sep 12, 2022
c++
constants
undefined-behavior
const-cast
How to call a non-const function within a const function (C++)
Sep 05, 2022
c++
function
constants
const-correctness
const-cast
Idiomatic way to create an immutable and efficient class in C++
Aug 31, 2022
c++
constants
immutability
const-cast
How to use const_cast?
Aug 29, 2022
c++
const-cast
Correct usage(s) of const_cast<>
Aug 29, 2022
c++
const-cast
Is const_cast safe?
Aug 17, 2022
c++
casting
const-cast
« Newer Entries