cpp-stack-functions