Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in constants

Is it allowed to cast away const on a const-defined object as long as it is not actually modified?

Returning a const pointer to a const data member and the 'auto' keyword. A bit confused

Why is implicit conversion from const to non-const allowed?

c++ c++11 templates constants

How can I initialize a const variable of a base class in a derived class' constructor in C++?

const in template argument [duplicate]

c++ templates constants

Is it possible use a class name in java switch/case statement? [duplicate]

What is constexpr in C++?

c++ constants constexpr

RAILS_ROOT require?

Class with defined static constant values in Objective-C

Can adding extra const qualifications break functionality (assuming compilation went fine)?

Why would an enum declaration be marked const?

c++ enums constants

How does const after a function optimize the program?

const references in c++ templates

"extern const" vs "extern" only

Why do undefined constants evaluate to true?

php constants

What difference does it make when I use "const" in a procedure's parameter?

delphi parameters constants

Constant float values in GLSL shaders - any reason to use uniforms?

opengl glsl constants shader

Get value of constant by name

c# field constants

Why should I ever return something by value, since C++ features const references?

Why do you need to append an L or F after a value assigned to a C++ constant?

c++ syntax types constants