Cpp Creating Instance Of A Function That Has Horizontal Asymptotes