Advertisement
Guest User

Untitled

a guest
Feb 27th, 2015
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. namespace test {
  2. template <typename T> class A;
  3. }
  4.  
  5. template <class T>
  6. bool operator==(const T *lhs, const test::A<T> &rhs);
  7.  
  8. namespace test {
  9.  
  10. template <typename T>
  11. class A {
  12. public:
  13. friend bool ::operator==(const T *lhs, const test::A<T> &rhs);
  14. };
  15.  
  16. }
  17.  
  18. int main(void)
  19. {
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement