StackOverflow Questions for Tag: compile-time-constant

Vinícius
Vinícius

Reputation: 15746

Where to define compile-time constants?

Score: 0

Views: 1264

Answers: 1

Read More
M.Mac
M.Mac

Reputation: 739

Force a constexpr function to be compiled at compile time, even if calculation inside contains a non-const array, by making the returned obj constant?

Score: 0

Views: 1279

Answers: 2

Read More
dcoles
dcoles

Reputation: 4045

How do I determine the size of an array at compile time in Rust?

Score: 9

Views: 6186

Answers: 1

Read More
Michele Piccolini
Michele Piccolini

Reputation: 2953

Static map class to value "expression must have a constant value" in std::type_index

Score: 0

Views: 28

Answers: 0

Read More
M. Winter
M. Winter

Reputation: 426

Using std::initializer_list[] as const list of lists of varying length

Score: 2

Views: 574

Answers: 2

Read More
cYeR
cYeR

Reputation: 155

How convert constant float value to 4 bytes hex constant value in compile time?

Score: 0

Views: 335

Answers: 1

Read More
wutingjia
wutingjia

Reputation: 23

How to use a external value in @Pointcut

Score: 0

Views: 321

Answers: 0

Read More
mriera
mriera

Reputation: 281

How can I use C++11 parameter packs to distinguish between compile time constants and runtime vars?

Score: 2

Views: 109

Answers: 0

Read More
Aaron
Aaron

Reputation: 839

Constant expression contains invalid operations

Score: 32

Views: 63836

Answers: 3

Read More
Mateusz Lubanski
Mateusz Lubanski

Reputation: 71

How to tackle compile time constants in microservice word?

Score: 2

Views: 75

Answers: 0

Read More
Ky -
Ky -

Reputation: 32143

What is cLongFixedRectangle?

Score: 1

Views: 21

Answers: 0

Read More
Mostafa_M
Mostafa_M

Reputation: 105

Trouble with own C++ list class implementation (insert function)

Score: -1

Views: 173

Answers: 2

Read More
eriyg
eriyg

Reputation: 147

Is hacking an app config value as a default parameter a code smell?

Score: -1

Views: 143

Answers: 1

Read More
Bart van Heukelom
Bart van Heukelom

Reputation: 44114

Determine whether a String is a compile-time constant

Score: 0

Views: 769

Answers: 1

Read More
lightxbulb
lightxbulb

Reputation: 1321

Expression did not evaluate to a constant two level constexpr functions (compiler bug?)

Score: 1

Views: 1198

Answers: 1

Read More
milad lashini
milad lashini

Reputation: 125

How to create automatically a compile time container of strings

Score: 2

Views: 426

Answers: 0

Read More
Samuel Barr
Samuel Barr

Reputation: 444

Use of String.join in Constant Expression

Score: 3

Views: 803

Answers: 1

Read More
dCSeven
dCSeven

Reputation: 915

Correctly formulate conditions for constants?

Score: 0

Views: 348

Answers: 2

Read More
Jonathan Mee
Jonathan Mee

Reputation: 38949

Work around disregarded constexpr in Visual Studio?

Score: 2

Views: 1123

Answers: 2

Read More
outis
outis

Reputation: 77440

How can PRODUCT_BUNDLE_IDENTIFIER be used as NSErrorDomain for app errors?

Score: 0

Views: 467

Answers: 1

Read More
PreviousPage 7Next