Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
MSVC lambda bug
// This file is a "Hello, world!" in C++ language by GCC for wandbox. #include <iostream> #include <cstdlib> #include <functional> namespace N { struct S { static std::function<std::function<void()>()> x; }; std::function<std::function<void()>()> S::x = [] { return [] {}; }; } int main() { std::cout << "Hello, Wandbox!" << std::endl; } // GCC reference: // https://gcc.gnu.org/ // C++ language references: // https://msdn.microsoft.com/library/3bstk3k5.aspx // http://www.cplusplus.com/ // https://isocpp.org/ // http://www.open-std.org/jtc1/sc22/wg21/ // Boost libraries references: // http://www.boost.org/doc/
run
|
edit
|
history
|
help
0
Strings
Dynamically sized array at end of struct
thread-destructor
C++ exception
VC++ latest rejects istream to nullptr comparison
CStringA
Dices by GOOSE
Test
Thing v.2
define own struct