That is an ugly place to have a new operator, could it be avoided somehow?
The accepted answer to About the usage of new and delete, and Stroustrup's advice About the usage of new and delete, and Stroustrup's advice suggests you use std::make_shared
instead.
That is an ugly place to have a new operator, could it be avoided somehow?
The accepted answer to About the usage of new and delete, and Stroustrup's advice suggests you use std::make_shared
instead.
That is an ugly place to have a new operator, could it be avoided somehow?
The accepted answer to About the usage of new and delete, and Stroustrup's advice suggests you use std::make_shared
instead.
That is an ugly place to have a new operator, could it be avoided somehow?
The accepted answer to About the usage of new and delete, and Stroustrup's advice suggests you use std::make_shared
instead.