2026-04-26 11:15:39.491648+08
Explain the differences between "unique_ptr", "shared_ptr", and "weak_ptr" in modern C++. Provide a scenario where using "shared_ptr" might lead to a circular dependency and show how "weak_ptr" can resolve it.