Search code examples
const_cast in template. Is there a unconst modifier?...

c++templatesconstantsconst-cast

Read More
Why does a const_cast (or static_cast) not add const?...

c++c++11static-castconst-cast

Read More
Compiler switch to disable const_cast semantics in c-style casts?...

c++castingcompiler-optionsconst-cast

Read More
Casting away const-ness of method...

c++constantsundefined-behaviorconst-cast

Read More
Writing to class member through const &...

c++constantsundefined-behaviorconst-cast

Read More
Modification of elements of std::set - Defined behavior?...

c++setconst-cast

Read More
c++ when the const is not an explicit one?...

c++constantsdeclarationconst-cast

Read More
Implement an advance method in a linked list without const cast...

c++linked-listthisconst-cast

Read More
Is const_cast on "this" pointer an undefined behavior?...

c++thisundefined-behaviorconst-cast

Read More
Passing a const lvalue reference as rvalue reference...

c++templatesconstantsperfect-forwardingconst-cast

Read More
C++ difference between adding const-ness with static_cast and const_cast of "this" object?...

c++static-castconst-cast

Read More
const int implicit conversion C++...

c++castingconstantsconst-cast

Read More
C++11 modifying elements in initializer_list using pointer caused SIGSEGV, why?...

c++c++11initializer-listsegmentation-faultconst-cast

Read More
Avoiding const_cast when calling std::set<Type*>::find...

c++setconstantsconst-cast

Read More
const_cast and Shooting your own Foot...

c++gccconst-cast

Read More
const_cast usage giving me runtime exception...

c++c++11castingconstantsconst-cast

Read More
Implement const and non-const version of methods taking a callback...

c++c++11lambdaconst-cast

Read More
const_cast const STL container, is it undefined behavior?...

c++c++11stlundefined-behaviorconst-cast

Read More
Can we convert a const vector<string> to vector<string> using const_cast?...

c++vectorcastingtype-conversionconst-cast

Read More
Design pattern for accessing non-const through a const intermediate...

c++design-patternsconstantsconst-cast

Read More
Filling a std::array at compile time and possible undefined behaviour with const_cast...

c++c++14undefined-behaviorconstexprconst-cast

Read More
Passing the results of `std::string::c_str()` to `mkdtemp()` using `const_cast<char*>()`...

c++stdstringmutablec-stringsconst-cast

Read More
conversion between 2 types with different const qualifiers...

c++pointersconstantsconst-casttemplate-classes

Read More
Unable to convert parameter in constructor due to const...

c++constructorconst-cast

Read More
How to get alternative value from function that gives wanted data via non-const output parameter for...

c++mfcconst-correctnessconst-castconst-reference

Read More
Is an attempt to modify a const_cast-ed, but dynamically allocated constant object still undefined b...

c++compiler-optimizationheap-memoryundefined-behaviorconst-cast

Read More
Testing template based class with const template parameter which has to be varied...

c++templatestestingconstantsconst-cast

Read More
behavior of const_cast in C++...

c++undefined-behaviorconst-cast

Read More
Is it safe to remove const via const_cast and invoke a non-const function that does not modify the r...

c++const-cast

Read More
Is this a valid use of const_cast?...

c++constantsconst-cast

Read More
BackNext