2 of 2
replaced http://stackoverflow.com/ with https://stackoverflow.com/
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.
ChrisW
- 13k
- 1
- 35
- 76
default