Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Integral constant
#include <type_traits> constexpr int f(int) { return 0; } int main() { auto lambda = [](auto x) { constexpr int e = f(x); }; lambda(std::integral_constant<int, 3>{}); }
run
|
edit
|
history
|
help
0
why fatal error C1083
#19
C++ quine
Computing factorial of an integer with recursion and iteration [EDIT]
move swap
inherited
PreprocessorVsNamespace
Chord Note Finder
Copy vs Reference
zero size std::array parameter