Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in const-correctness

const-correctness and the safe bool idiom

Why do g++ and MS Visual Studio C++ execute the following code differently?

Const method that modifies *this without const_cast

Is there a way to use standalone `std::begin` and for a const_iterator?

Is it a good practice to free memory via a pointer-to-const

Why doesn't shared_ptr<A> implicit convert to shared_ptr<A const>?

Is "const LPVOID" equivalent to "void * const"?

How to generate a non-const method from a const method?

c++ dry const-correctness

C++ Pass By Const Reference and Return By Const Reference

Can an object know its own constness?

Const array pointer to const values

How to achieve const-correctness in C#? [duplicate]

c# c++ const-correctness

std::function const correctness

Const-correctness in C

Turning vector of shared_ptr into vector of shared_ptr to const

How would a heap-allocated const object differ from non-const one?

C++ avoiding code duplication for const and non-const visitation

const correctness for structs with pointers

Is const_cast<const Type*> ever useful?

Why there is no concept of "const-correctness" for class's static member functions?