Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
visual-wtf
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86 #include <iostream> #include <string> void wtf (std::string &a) { a = true; } int main() { std::string a = "wtf"; wtf(a); std::cout << a; }
run
|
edit
|
history
|
help
0
throwing Copyable versus throwing MoveOnly
parantheses matching using stack in C++ - test
Fibonacci stairs
primitive type copy constructor
new
Constant table but dynamic initialization at runtime
accessing private of different type of template
ccloader
Error log b is an undeclared identifier...
Templatized Visitor Pattern Example