"Auto pointer" means "automatic pointer" (also known as a "smart pointer"). It's a pointer to a dynamically-allocated resource that automatically calls delete on the pointed resource when it goes out of scope so that you don't have to do it manually. C++11 provides two classes: auto_ptr and shared_ptr. The difference is that two shared_ptr objects can point to the same resource, whereas if you assign the same resource to two auto_ptr objects, the first one gets set to NULL:
1 2 3 4 5
std::auto_ptr<int> p1(newint);
std::cout << p1.get(); // Prints address
std::auto_ptr<int> p2 = p1;
std::cout << p1.get(); // Prints NULL
std::cout << p2.get(); // Prints address
Also auto is evaluated at compile-time, not at runtime.
sorry i meant compile time. ive been doing a lot of python so i got used to run-time. so reading through this, i decided not to continue learning go. what are redundancies, and what does python have to offer that c++ doesn't?
Theoretical they are both Turing Complete. However python is much better suited to rapid development, while C++ is more suited where you need speed or low lever control.