Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template <class T, class D>
- bool operator==(const std::unique_ptr<T, D>& a, const std::shared_ptr<T>& b) { return a.get() == b.get(); }
- template <class T, class D>
- bool operator==(const std::shared_ptr<T>& a, const std::unique_ptr<T, D>& b) { return a.get() == b.get(); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement