Work with array of transform like Get(a ref) in blueprint but for c++

Hello everyone who reads this topic. I am facing difficulty in executing C ++ code. I know there is an option in blueprints to use Get (a ref) as using specific data from an array at a specific index. So here’s how to do it in C ++?