online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> #include <string> class Person { public: Person(std::string const & name) { std::cout << "Person(std::string const & name)\n"; } Person(Person const & other) { std::cout << "Person(Person const & other)\n"; } template <typename T> Person(T && t) { std::cout << "Person(T && t)\n"; } }; int main() { Person p1("Rafal"); std::string name("Adam"); Person p2(name); Person p3(p1); }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue