Skip to main content
Code Review

Return to Answer

replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

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.

Source Link
ChrisW
  • 13k
  • 1
  • 35
  • 76

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.

lang-cpp

AltStyle によって変換されたページ (->オリジナル) /