Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

weak_ptr and Circle_reference

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.53 sec, absolute running time: 0.08 sec, cpu time: 0.02 sec, memory peak: 3 Mb, absolute service time: 0,61 sec 
edit mode |  history  | discussion
A ctor
B ctor
Hello I am A
1
1
B dtor
A dtor
0
0