Why doesn’t my code compile when I change a shared_ptr<T>(p) to an equivalent make_shared<T>(p)?

4 · Raymond Chen · Jan. 3, 2024, 3:31 p.m.
It depends on who is doing the parameter conversion. The post Why doesn’t my code compile when I change a <CODE>shared_ptr<T>(p)</CODE> to an equivalent <CODE>make_shared<T>(p)</CODE>? appeared first on The Old New Thing....