StackOverflow Questions for Tag: consteval

bleh
bleh

Reputation: 1

Printing std::source_location attributes in __cyg_profile_func_enter causes segfault?

Score: 0

Views: 8

Answers: 0

Read More
ligazetom
ligazetom

Reputation: 153

Can I wrap static_assert in different function?

Score: 0

Views: 42

Answers: 0

Read More
A A
A A

Reputation: 41

Compile Time unique hash for variables

Score: 0

Views: 120

Answers: 1

Read More
NoSenseEtAl
NoSenseEtAl

Reputation: 29996

Using constexpr std::vector returned from consteval function in another consteval function

Score: 0

Views: 48

Answers: 0

Read More
LHLaurini
LHLaurini

Reputation: 2570

Is this strange behavior from Clang a compiler bug?

Score: 10

Views: 270

Answers: 0

Read More
rkjnsn
rkjnsn

Reputation: 985

(Reverse) forwarding consteval-ness of constructor with perfect forwarding

Score: 2

Views: 67

Answers: 1

Read More
wohlstad
wohlstad

Reputation: 28084

Usage of std::is_constant_evaluated() since C++23

Score: 6

Views: 199

Answers: 1

Read More
PlsHelp
PlsHelp

Reputation: 133

Consteval error: taking address of an immediate function

Score: 0

Views: 90

Answers: 0

Read More
Cus
Cus

Reputation: 121

Pass const expression to consteval function through non-consteval functions

Score: 1

Views: 59

Answers: 0

Read More
SkullHeadI
SkullHeadI

Reputation: 39

this declaration has no storage class or type specifier - compiler not detecting consteval

Score: 1

Views: 121

Answers: 1

Read More
KevinZ
KevinZ

Reputation: 3301

What is consteval?

Score: 88

Views: 23961

Answers: 1

Read More
HCSF
HCSF

Reputation: 2649

consteval member function allowed?

Score: 2

Views: 133

Answers: 1

Read More
user3188445
user3188445

Reputation: 4748

Calling a consteval function within if consteval causes error in non-constexpr context

Score: 1

Views: 295

Answers: 1

Read More
DubbleClick
DubbleClick

Reputation: 21

C++23 constexpr size limitations? Iterating through 0x4000 = ok, to 0x5000 = not a constant expression

Score: 0

Views: 153

Answers: 1

Read More
Rudolf Lovrenčić
Rudolf Lovrenčić

Reputation: 174

Returning an array from a consteval function where size of an array is a function argument

Score: 1

Views: 66

Answers: 0

Read More
Weijun Zhou
Weijun Zhou

Reputation: 4896

How can I get the compiler to warn me about extremely long symbol names?

Score: 9

Views: 228

Answers: 0

Read More
kAzec
kAzec

Reputation: 71

consteval: Why evaluation of a compound requires inside a consteval lambda is not a constant expression?

Score: 0

Views: 49

Answers: 0

Read More
CJBrew
CJBrew

Reputation: 2787

C++ Compile time check for existence of functions matching enum keys

Score: 0

Views: 65

Answers: 0

Read More
user2426460
user2426460

Reputation: 33

Compute std::vector in consteval context and copy values to std::array in C++20 or later

Score: 0

Views: 27

Answers: 0

Read More
Andrea Agostini
Andrea Agostini

Reputation: 67

Is the address of a consteval-constructed object a constant expression?

Score: 2

Views: 160

Answers: 1

Read More
PreviousPage 1Next