Search code examples
Const Functions and Interfaces in C++...


c++interfaceconst-correctnessmember-functions

Read More
How to search for const pointer in a collection of non-const pointers?...


c++const-correctness

Read More
Const-correctness with proxy object...


c++templatesconst-correctness

Read More
I want to bind a a non-const lvalue reference to type T to a temporary of type T...


c++rvaluetemporaryconst-correctness

Read More
Modifying const reference argument via non-const reference argument...


c++pass-by-referenceconst-correctnesspass-by-const-reference

Read More
const correctness for custom reference wrapper...


c++constantsconst-correctnessreference-wrapper

Read More
What is the reason behind cbegin/cend?...


c++c++11iteratorconst-correctnessconst-iterator

Read More
Return constant reference from non-const function return reference value...


c++referenceconst-correctness

Read More
What is the Pythonic equivalent of const-references?...


pythonpython-3.xconst-correctnessinformation-hiding

Read More
Is the object "this" points to the same as a const object?...


c++operator-overloadingconstantsconst-correctnessthis-pointer

Read More
Const correctness causing problems with containers for pointers?...


c++pointersconst-correctnesscontainer-data-type

Read More
std::function const correctness...


c++std-functionconst-correctness

Read More
Why can I call a method that changes a member from a const method?...


c++pointersconstantsconst-correctness

Read More
Am I breaking const-correctness if I expose a const and non-const API?...


c++constantsconst-correctness

Read More
char* vs const char* in C...


cpointersc-stringsstring-literalsconst-correctness

Read More
How to provide multiple begin/end proxies for a class...


c++iteratorrangec++14const-correctness

Read More
Adding /*const*/ instead of const qualifier to char * param in function prototype...


cfunctionconstantsconst-correctness

Read More
Why const correctness rule doesn't work for built in libraries?...


c++math.hconst-correctness

Read More
How to find by a const pointer key in a map with non-const pointer keys...


c++stlconst-correctnessconst-castconst-pointer

Read More
top-level const with pointers...


c++pointersconst-correctness

Read More
Const vector of non-const objects...


c++vectorconstantsconst-correctness

Read More
Can I be sure than a const reference is updated when modified by another entity?...


c++referenceconstantspass-by-referenceconst-correctness

Read More
Is it legal/safe to cast away `const` for a heap-allocated object?...


ccastingconstantsundefined-behaviorconst-correctness

Read More
What is the best approach or alternative to constant references?...


c#const-correctnesscompile-time-constant

Read More
smart pointer to const in function's signature...


c++c++11castingconst-correctness

Read More
How to enforce const-correctness regarding pointer data-members...


c++constantsconst-correctness

Read More
Why is writing to a non-const object after casting away const of pointer to that object not UB?...


c++constantsundefined-behaviorconst-correctnessconst-cast

Read More
Array of const void * pointers and Visual C++...


carrayspointersdynamic-memory-allocationconst-correctness

Read More
How to pass a container of unique_ptrs where container, ptrs and objects are not modifiable?...


c++stlcontainersconst-correctness

Read More
binary '[' : no operator found which takes a left-hand operand of type 'const std::map&l...


c++templatesdictionaryconst-correctness

Read More
BackNext