P
Peng Yu
Hi,
__FUNCTION__ can give the function name. Is there any variable for
class name?
Thanks,
Peng
__FUNCTION__ can give the function name. Is there any variable for
class name?
Thanks,
Peng
Peng Yu said:Hi,
__FUNCTION__ can give the function name. Is there any variable for
class name?
If you are lucky, typeid( *this ).name()
Lucky meaning it may do so on some implementations, others it may not.
.name() is not guaranteed to have any value afaik.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.