Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in constants

Move semantics & returning const values

DirectX11 set shader constants

constants hlsl directx-11

Why cant I pass a non const pointer to a function taking a reference to a pointer to a const as its argument

Compiler Optimization: const on non-pointer function arguments in C

What is the role of passing by reference when you do not modify variables?

c++ memory reference constants

Anonymous function VS const function - javascript

What is the meaning of 0x61C88647 constant in ThreadLocal.java

java optimization constants

mutable with const pointer in C++

c++ pointers constants mutable

How to handle const/non const combination of getters without duplicate code? [duplicate]

c++ c++11 constants code-reuse

Can Rust constant expressions use traits like Default?

rust constants default

Doubt on a C++ interview question

How do you define a mutable pointer to a const object?

c++ pointers constants mutable

How can I avoid using a const_cast with std::vector::erase() in C++?

c++ stl casting constants

How to convert a `const char *` to simply `char *`?

c++ constants

When should I pass "T* const&" type of pointer ?

Why does std::vector transfer its constness to the contained objects?

c++ stl vector constants

In C++, is it better to use #define or const to avoid magic numbers?

How can I declare a template constant type?

c++ templates constants

Can I declare a variable as const in the public header and not in the private header?

Behavior of const reference after casting to non-const

c++ c++11 reference constants