A little help here please

what is the general syntax for declaring two-way friendship in 2 classes
1
2
3
4
5
6
7
8
9
class A
{
	friend class B;
};

class B
{
	friend class A;
};
Topic archived. No new replies allowed.