Use this tag for questions related to the compile time constant, a constant value that is known at compile time.
Inside the header file of my class, I am trying the following and getting compiler complaints: private: static const double …
c++ constants static-members compile-time-constantRelated: Function returning constexpr does not compile I feel like constexpr is limited in usefulness in C++11 because of the …
c++ c++11 overloading compile-time-constant constexprI have the following very simple template. As I learned, ^ is not the exponential operator. Now I'm looking for a …
c++ templates compile-time-constantSince I know the regexes at compiletime, and building up a regex is in O(2^m) where m is the …
c++ regex c++11 compile-time-constantWhat is the difference between final variables and compile time constants? Consider the following code final int a = 5; final int …
java compile-time-constantI am making an expression parser for a calculator. The expressions will contain a variable, for instance, a user could …
java switch-statement compile-time-constant