Advertisement
Guest User

Untitled

a guest
May 25th, 2014
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. type base {
  2. dynamic f() { return shared_ptr(base)(); }
  3. }
  4. type derived {
  5. f() { return shared_ptr(derived)(); }
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement