Jan 3, 2024
Post comments count1
Post likes count1
Why doesn’t my code compile when I change a shared_ptr<T>(p) to an equivalent make_shared<T>(p)?
It depends on who is doing the parameter conversion.