class CDB;
class CDM
{
public:
friend CDB& CDB::Add(const CDM&);
CDM& Add(const CDB&);
};
class CDB
{
public:
CDB& Add(const CDM&);
friend CDM& CDM::Add(const CDB&);
};
This code gives me the error : error C2027: use of undefined type 'CDB'. How to resolve this.
See Question&Answers more detail:os