Search code examples
Difference between function returning by reference and const function returning a const value...


c++referencepolymorphismconstantsreturn-type

Read More
Given constants are implemented as subroutines, is it actually a good practice to use them given the...


perlconstantssubroutine

Read More
Since System.Half is not a primitive, how can I make a const of it?...


c#constants

Read More
How to declare a constant TPoint?...


delphiconstantspoint

Read More
Why is decltype(member) not const while decltype((member)) is for const object and how does it impac...


c++constantslanguage-lawyermembertemplate-argument-deduction

Read More
.Net 8 API: Serialize a class of structs with consts...


.netserializationstructstaticconstants

Read More
How to create immutable objects in Kotlin?...


kotlinconstantsimmutability

Read More
Best workaround to create a PHP class constant from an expression?...


phpclassconstants

Read More
Why constant declaration in function declaration doesn't throw an error?...


javascriptfunctionconstantsdeclarationredeclaration

Read More
Can C++ compile-time constants have a different value for each compiled binary?...


c++constants

Read More
How to directly assign a std::vector to another std::vector when the elements have the same type but...


c++iterationconstantsshared-ptrqualifiers

Read More
Why can I call member's non-const function inside const member function?...


c++visual-studioconstants

Read More
constexpr vs. static const: Which one to prefer?...


c++c++11constantsconstexpr

Read More
Does assignment of the same value to a const variable cause UB in C++?...


c++constantsundefined-behavior

Read More
In C++, why doesn't the copy of a constant also have to be a constant when I pass it by value?...


c++constantspass-by-value

Read More
How to get name of the constant?...


phpclassconstants

Read More
Assigning address of a const variable to non const pointer...


cpointersconstants

Read More
Can I initialize a const string from a const char in C#?...


c#stringconstants

Read More
How do I turn off PHP Notices?...


phperror-handlingconstants

Read More
Is f(int const) better than f(int) for compiler optimization?...


c++performanceoptimizationconstantscompiler-optimization

Read More
What's the difference between constexpr and const?...


c++c++11constantsconstexpr

Read More
Can I #define a constant solutionwide within c# code without project settings?...


unity-game-enginec-preprocessorconstantsglobalconditional-compilation

Read More
The const qualifier and Const pointers...


cpointersconstantsstring-literals

Read More
Difference between the following declarations and definitions...


cpointerssegmentation-faultconstantsstring-literals

Read More
About Warning Option "incompatible-pointer-types"...


cpointersconstants

Read More
Question about C++ pointers in a class instance declared as const...


c++classconstantsdatamember

Read More
Why is it only sometimes allowed to use a const int as an array size?...


c++arraysconstantsconstant-expression

Read More
When can you use a const int as the size of an array?...


c++arraysconstantsconstant-expression

Read More
A value of type "const int*" cannot be used to initialize an entity of type "int* con...


c++constantsc++23

Read More
Is there any benefit to declaring local variables const?...


c++variablesconstants

Read More
BackNext