Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in const-correctness

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

Cast or convert a pointer (T*) to a two-const (T const * const) pointer

What is wrong with my syntax in this 1 line bit of code (pointers and references and dereferences oh my)?

constant function is called by non constant object. Why?

How does const correctness help write better programs?

c# c++ const-correctness

Tracking All Instances While Preserving Const Correctness

call by reference, const correctness and read write access to referenced structures - Undefined Behavior

How to enforce const-correctness regarding pointer data-members

C++ : automatic const?

c++ const-correctness

C++ operator + and * non-const overloading

const pointers in STL containers

c++ stl const-correctness

Are there any alternatives to making const version of class?

c++ const-correctness

How to keep this const-correct without cheating the compiler?

c++ const-correctness

Const-correctness of std::reference_wrapper

Why does gcc -Wdiscarded-qualifiers complain about this code?

Pass C struct as "deep" const

Why is mutable lambda converted to function pointer instead of calling operator()?

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