Learn To Use Predefined Identifier __func__ In C++
August 18, 2023
Modern C++ has a lot of features that can be used in professional programming. C++11 standard improved the previous C99 standard feature __func__ which is a predefined identifier for functions or methods. The predefined identifier __func__ returns as a string that contains the name of the enclosing function or method. In this post, we explain how we can use predefined identifier…