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
namespace name resolution
class with unique_ptr to vector
vector of bool
upper_bound With binary_function Visual Studio 2008 Bug?
VC++
cv2
MSVC lambda bug
Regex pipe and tabs c++
MSVC bug in __fastcall implementation !!!
trying to find if reinterpret_cast preserves calling convention