Search code examples
Using iterator to retrieve const values pointed to in containers...


c++iteratorc++17const-correctnessconst-pointer

Read More
Const correctness in generic functions using iterators...


c++iteratorc++17const-correctness

Read More
Const correctness of operator* in std::unique_ptr...


c++unique-ptrconst-correctness

Read More
Is there a scenario where adding a const qualifier to a local variable could introduce a runtime err...


c++refactoringconst-correctness

Read More
Advice for getting a pointer to an object from a vector stored inside a class...


c++class-designconst-correctness

Read More
How can I propagate const when returning a std::vector<int*> from a const method?...


c++const-correctness

Read More
Idiomatic Way to declare C++ Immutable Classes...


c++c++11functional-programmingimmutabilityconst-correctness

Read More
msvc std::lower_bound requires const operator*...


c++const-correctness

Read More
MSVC: C++14: std:set: comparison function: why "const" is required?...


c++visual-c++c++14const-correctnessstdset

Read More
What does each of these `const`s mean?...


c++pointersprogram-entry-pointconst-correctness

Read More
Meaning of const pointers as function parameters...


cparameter-passingconst-correctnessconst-pointer

Read More
How to restrict access to a non-const public member m of a class A to be const to a another class B,...


c++software-designconst-correctness

Read More
Error Can not convert char** to const char**...


c++pointersvisual-c++const-correctness

Read More
Is this code legal in C++...


c++templatesconstantsconst-correctness

Read More
How do I pass a non-mutable reference from Rust to a C-API that doesn't use const (even though i...


crustffiunsafeconst-correctness

Read More
Resource handle const correctness...


c++const-correctness

Read More
What is the difference between const std::vector<T> and std::vector<T> const?...


c++vectorconstantsconst-correctness

Read More
Const-correctness confusion with non-mutating collections...


c++const-correctness

Read More
Container begin / end / cbegin / cend semantics, iterator / const_iterator compatibility...


c++iteratorcontainersc++17const-correctness

Read More
Call non-const function on a const object...


c++c++11constantsmember-functionsconst-correctness

Read More
Const correctness for value parameters...


c++pass-by-valueconst-correctness

Read More
Write-Only pointer type...


c++cpointersreadonlyconst-correctness

Read More
C++ Const correctness in C wrapper class...


c++pthreadsconst-correctness

Read More
What are the use cases for having a function return by const value for non-builtin type?...


c++const-correctness

Read More
Understanding "'const' at top level, which may reduce code readability without improvin...


cconst-correctnessclang-tidy

Read More
std::vector of objects and const-correctness...


c++vectorconst-correctness

Read More
Why is the endptr parameter to strtof and strtod a pointer to a non-const char pointer?...


clibcconst-correctness

Read More
Should I make my local variables const or movable?...


c++c++17move-semanticsconst-correctness

Read More
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
BackNext