Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.15 KB | None | 0 0
  1. Object obj();   //Declare obj and call Object constructor
  2. new (&obj) Object(1,2,3); //call constructor again; will destructor/deallocator be called first?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement