Language
Compiler
Options
$
Bang(int i = 0) m_val address is 0x7ffd202c48b0
Bang(int i = 0) m_val address is 0x7ffd202c48e0
~Bang()
operator() m_val address is 0x7ffd202c48e0
-1
~Bang()
Exit Code:
0
Author
anonymous
almost 7 years ago
Author
anonymous
almost 7 years ago
$
prog.cc: In function 'int main()':
prog.cc:60:17: warning: implicitly-declared 'Bang& Bang::operator=(const Bang&)' is deprecated [-Wdeprecated-copy]
b = GetBang();
^
prog.cc:36:5: note: because 'Bang' has user-provided 'Bang::~Bang()'
~Bang()
^
Bang(int i = 0) m_val address is 0x7ffd202c48b0
Bang(int i = 0) m_val address is 0x7ffd202c48e0
~Bang()
operator() m_val address is 0x7ffd202c48e0
-1
~Bang()