Code:
// In a different file (e.g., implementation.cpp)
#include "your_header.h" // Include the header file where the class and friend declarations are made
void CheckIntegerOrReal(const TType *pType1, const TType *pType2) {
// Implementation of the function
// You can access private or protected members of the class here using pType1 and pType2
}
void CheckBoolean(const TType *pType1, const TType *pType2) {
// Implementation of the function
// You can access private or protected members of the class here using pType1 and pType2
}