Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace test {
- template <typename T> class A;
- }
- template <class T>
- bool operator==(const T *lhs, const test::A<T> &rhs);
- namespace test {
- template <typename T>
- class A {
- public:
- friend bool ::operator==(const T *lhs, const test::A<T> &rhs);
- };
- }
- int main(void)
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement