I can not declare neither assert class, nor assert function as a friendly to my class.
Am I right with such a declaration?
class Baka
{
private:
friend assert; //invalid friend declaration
friend void assert(); //expected an identifer
public:
}
I've already googled a lot, but I can't find right arguments for assert() and the real name of the "assert" class( I will appreciate any help.