Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in constants

private static const member variable in header vs const variable in cpp

c++ static constants

Does numeric promotion apply to constants in Java? [duplicate]

java constants

Is it UB to call a non-const method on const instance when the method does not modify members? [duplicate]

comparing unsigned vs signed does not make a warning (using const)

c gcc constants

Using elements of a constant array as cases in a switch statement

What special rules does C++ apply to static const integral types?

c++ static constants standards

Modifying constant object

Design C-container with `const` elements?

Can an inline function in a header file use a constant which has internal linkage?

Cannot bind lvalue to A<Cv2>&&

Best practice for global constants in Scala Application

scala object constants

Can I shadow a const binding with a local variable?

rust constants let

program compiled when function parameter does not match the const parameter declaration in c

c function constants

getting around const in an init method

c++ constants

How to dynamically retrieve a constant in java?

java constants

Storage allocation to const variables

c++ constants storage

Confusion regarding modification of const variable using pointers

c pointers constants

Reason for Undefined class constant NOTICE in PHP (Use of undefined constant)

php constants

Why is it allowed in C++ to modify a constant object's pointer member variable's memory from outside?

Why does a method call need to be disambiguated when it can in principle be a constant?

ruby methods syntax constants