Can you declare static local variables in a constexpr function?
Channel:
Subscribers:
4,140
Published on ● Video Link: https://www.youtube.com/watch?v=L7PtzYKMG5E
Can you declare static local variables in a constexpr function?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(stackoverflow.com/users/5740428/jan-schultke)Jan Schultke
(stackoverflow.com/users/5740428/jan-schultke)Jan Schultke
A special thanks goes out to the (https://stackoverflow.com/questions/76547561/can-you-declare-static-local-variables-in-a-constexpr-function)Stackexchange community
I wish you all a wonderful day! Stay safe :)
c++ constexpr constants c++23
Other Videos By Peter Schneider
Tags:
c++
constexpr
constants
c++23