Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

range based for loop temporary object lifetime issue example

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.62 sec, absolute running time: 0.14 sec, cpu time: 0 sec, memory peak: 3 Mb, absolute service time: 0,76 sec 
fork mode |  history  | discussion
CLANG  version 1.3.8.0 
OK  - DTOR not called yet
ERR - DTOR already called on this