Advertisement
Guest User

Untitled

a guest
Jul 29th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. template <typename T>
  2. struct deref_shared_ptr: std::shared_ptr<T> {
  3. bool operator==(const deref_shared_ptr rhs) const {
  4. return (*this == *rhs);
  5. }
  6. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement