c++ debug function name code example
Example: c++ method name
// EXAMPLE: if you are in a function/method called YourMethod()
std::cout << "Current function: " << __FUNCTION__; // OUTPUT: Current function: YourMethod
// SYNTAX
// __FUNCTION__
// EXAMPLE: if you are in a function/method called YourMethod()
std::cout << "Current function: " << __FUNCTION__; // OUTPUT: Current function: YourMethod
// SYNTAX
// __FUNCTION__