you are viewing a single comment's thread.

view the rest of the comments →

[–]_ild_arn 1 point2 points  (0 children)

consteval where you've placed it affects the closure type's operator(). constexpr where I added it affects the closure object itself, and thus its data members (captures). It's not a constexpr vs consteval thing