Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
fun
//g++ 5.4.0 #include <iostream> #include <functional> int main() { bool i = true; std::function<bool(void)> f; if (i) f = []() -> bool { return true; }; else f = []() -> bool { return false; }; f(); return 0; }
run
|
edit
|
history
|
help
0
-1 Girene Kadar Ortalama
😊
make Derive final
IBE FT ParseFileName
amusing overload choice
No UD
What is the fastest/most efficient way to find the highest set bit (msb) in an integer in C?
Computing the factorial of an integer using factorial and iteration
VC++ error C2440 with combined use of non-type template parameters
VC++ windows exception