Florian
10/04/2019, 7:43 PMconst val
can not be assigned any function calls, but as I found out from this SO question it's actually possible for some functions:
https://stackoverflow.com/questions/44921746/what-can-be-expressed-in-a-compile-time-constant-const-val
From the given answers, it's not completely clear to me what is the reason for that. Is it because these function calls are not actually translated to function calls by the compiler, but replaced for operators?karelpeeters
10/04/2019, 11:19 PMFlorian
10/05/2019, 7:10 AM