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
#8
no-thread
Template function declaration to avoid usage of template in T::template f<int>()
unordered map broken msvc
students grade
c++
MSVC bug in __fastcall implementation !!!
Type deduction in VC++
hangman
#30.3