Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in const-correctness

passing an object by const& and by & to the same function

c++ const-correctness

Problems overloading operator== of template sub class

C++ Only Allow a member variable to be set once

How do I implement a Vector with const correctness that forbids a normal iterator of such Vector to change the value at the address of the iterator

const_casting element type of container

How to make const some members of a mutable lambda capture list?

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