Name and signature

Reference

#include <actl/functional/name/AC_FUNCTION_NAME.hpp>
AC_FUNCTION_NAME

String literal representing portable short name of the enclosing function (or a function template), that is excluding the namespace, qualifiers and parameters.

void my_function() {
    static_assert(AC_FUNCTION_NAME == "my_function"sv);
}
#include <actl/functional/name/AC_FUNCTION_SIGNATURE.hpp>
AC_FUNCTION_SIGNATURE

String literal representing compiler-specific signature of the enclosing function.

See tests at tests/functional/name.cpp