How to get Unit Direction in C++

Hello I’ve been trying replicated this function into C++.

I am having trouble finding the GetUnitDirection function in c++ tho what’s the equivalent function in C++?

(To - From).GetSafeNormal()

Thank you that worked