| ▲ | usefulcat 4 hours ago | |
auto_ptr is not used in the example that uses sort(), so "on the same page" is doing a bit of lifting here. He's using auto_ptr to demonstrate RAII, which is fine. I would assume that the use of auto_ptr indicates that the example was written some time ago. | ||