📅  最后修改于: 2022-03-11 14:44:49.565000             🧑  作者: Mango
// EXAMPLE: if you are in a function/method called YourMethod()
std::cout << "Current function: " << __FUNCTION__; // OUTPUT: Current function: YourMethod
// SYNTAX
// __FUNCTION__