C++

Asked • 10/10/19

Why should C++ programmers minimize use of operator new?

Why do C++ programmers recommend minimizing the use of operator new? Isn't operator new the C++ way of allocating dynamic memory for C++ objects on the heap; in which case, why minimize its usage? Is operator new 'bad'?

1 Expert Answer

By:

David A. answered • 10/10/19

Tutor
4.7 (14)

Experienced C++ tutor who loves to mentor and pass on my knowledge

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.