Search code examples
How can the object parameter received by an input overloading function be const...

c++constantsoperator-overloadingconst-correctness

Read More
How to convert const char* to char*...

c++stringconst-correctness

Read More
const-correctness and the safe bool idiom...

c++constantspointer-to-memberconst-correctnesssafe-bool-idiom

Read More
Is there a way to create qualifier-preserving functions in C?...

cfunctionconst-correctnessqualifiers

Read More
Why doesn't my C compiler warn when I assign a string literal to a non-const pointer?...

ccompiler-warningsconst-correctness

Read More
Why do C standard libraries neglect const correctness?...

cstringconstantsconst-correctnessctype

Read More
Does using const on function parameters have any effect? Why does it not affect the function signatu...

c++parametersconstantsfunction-declarationconst-correctness

Read More
Why is std::iterator_traits::value_type non-const even for a const_iterator?...

c++iteratorconst-correctnessconst-iteratoriterator-traits

Read More
Is there a simpler way to convert a variant to another variant with const versions of the same types...

c++const-correctnessstd-variant

Read More
error: passing const xxx as 'this' argument of member function discards qualifiers...

c++member-functionsconst-correctnessstdsetfunction-qualifier

Read More
Why does std::set seem to force the use of a const_iterator?...

c++c++11stdconst-correctnessstdset

Read More
Can you bind a const T*&& to an xvalue of type T*?...

c++language-lawyertemporary-objectsconst-correctnessreference-binding

Read More
C++ thread safety with const functions...

c++multithreadingthread-safetyconst-correctness

Read More
Passing variable to function with constant parameter...

c++pointersconst-correctness

Read More
Why can't a static member function have a const qualifier?...

c++staticlanguage-lawyerconst-correctnessfunction-qualifier

Read More
Does a const member function call the non-const version, or is it recursive?...

c++recursionconstantsconst-correctnessfunction-qualifier

Read More
reinterpret_cast<const> casts away const qualifier?...

c++reinterpret-castconst-correctnessfunction-qualifier

Read More
How can you return a non-const reference to an element in a std::vector data member from a const mem...

c++stdvectormember-functionsconst-correctnessfunction-qualifier

Read More
Is a member function returning a const reference to a data member thread-safe?...

c++thread-safetyconst-correctnessfunction-qualifier

Read More
Should I declare these member functions const?...

c++static-analysisconst-correctnessfunction-qualifier

Read More
Temporary object creation for reference parameter and optimization changes...

c++language-lawyerclang++const-correctnessreference-binding

Read More
Const-correctness with getters of vector of non-pointers...

c++vectorreferencegetterconst-correctness

Read More
Const correctness for setter functions in c++...

c++oopconstantsconst-correctness

Read More
How do I implement a Vector with const correctness that forbids a normal iterator of such Vector to ...

c++templatesvectoriteratorconst-correctness

Read More
insert into a C++ unordered_map with known hash-value...

c++hashunordered-setconst-correctness

Read More
How to expose a base class only as const reference...

c++inheritanceconst-correctness

Read More
Why can I have a const pair<const T, T> reference to a pair<T, T>?...

c++referenceconst-correctness

Read More
Why can't I convert 'char**' to a 'const char* const*' in C?...

cpointersconstantsconst-correctness

Read More
Constant-correctness with function members...

c++const-correctness

Read More
Const-correctness for nested Proxy Classes...

c++oopc++20const-correctness

Read More
BackNext