Why is it possible to use the return of a lambda, passed as argument of a constexpr function argu...
Channel: Peter Schneider
Date: 21/03/2024

Why is it possible to use the return of a lambda, passed as argument of a constexpr function argument, in a constant expression within the function?
I hope you found a solution that worked for you :)
 The Content is licensed under (https://meta.stackexchange.com/help/licensing) CC BY-SA. 
 Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!

 (stackoverflow.com/users/21691539/oersted)Oersted 
 (stackoverflow.com/users/5825294/enlico)Enlico 
 (stackoverflow.com/users/12002570/user12002570)user12002570 
 A special thanks goes out to the (https://stackoverflow.com/questions/78082852/why-is-it-possible-to-use-the-return-of-a-lambda-passed-as-argument-of-a-conste)Stackexchange community 
 
 I wish you all a wonderful day! Stay safe :)
 If anything is off, please write me at peter D.O.T schneider A.T ois42.de
 
  callable-object constant-expression c++ constexpr-function