Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ method name

// EXAMPLE: if you are in a function/method called YourMethod()
std::cout << "Current function: " << __FUNCTION__; // OUTPUT: Current function: YourMethod

// SYNTAX
// __FUNCTION__
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #method
ADD COMMENT
Topic
Name
1+1 =