#include <iostream>using namespace std; struct S{ S(S const& s) { cout << this << "::S(" << &s << ")\n"; }}; int main() { S s(s);}
Standard input is empty
0x7ffe58c45827::S(0x7ffe58c45827)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!