class A{
private:
int num{0};
public:
void func1(A obj){
std::cout<<obj.num;
}
void func2(){
// func1(/*pass current obj by value here*/);
}
};
how do I pass the current object being worked to func1 by value from within the same class?