Introduced in CPP11, CPP Make Shared creates a shared_ptr with a single memory allocation. This optimization reduces memory fragmentation and improves performance in shared ownership scenarios.
CPP Make Shared supports safe resource sharing in multithreaded environments, event-driven architectures, and resource managers. It avoids explicit memory allocation, simplifying object ownership semantics.
https://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared