...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
ctti_type_indexuses macro for getting full text representation of function name which could lead to code bloat, so prefer using
stl_type_indextype when possible.
const char* raw_name()do not require dynamic memory allocation and usually just return a pointer to an array of chars in a read-only section of the binary image.
std::strcmpin worst case.
std::string pretty_name()usually require dynamic memory allocation and some computations, so they are not recommended for usage in performance critical sections.