Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in const-correctness

Const correctness in struct initialization

c++ const-correctness

Is it legal to modify a dynamically-allocated `const` object through a re-used non-`const` name?

How do I require const_iterator semantics in a template function signature?

How to deal with initialization of non-const reference member in const object?

Invoking a nonconst method on a member from a const method

Unique pointer and const correctness

boost::optional not letting me reassign const value types

Const correctness in C# with rich types

Shared pointers and const correctness

Any difference between const Class& and Class const&?

C++ Overloading Conversion Operators

about const member function [duplicate]

How to have this const-corrected?

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>?