Guest User

Untitled

a guest
Sep 14th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. HasPtr(const HasPtr& hp)
  2. HashPtr& operator=(const HasPtr& rhs)
  3. HasPtr(HasPtr&& hp) noexcept
  4. HashPtr& operator=(HasPtr&& rhs) noexcept
  5.  
  6. HasPtr(HasPtr& hp)
  7. HasPtr& operator=(HasPtr rhs) // non-reference parameter, copy-and-swap-assigment operator, either calls copy- or move-constructor
  8. HasPtr(HasPtr&& hp) noexcept
Add Comment
Please, Sign In to add comment