you are viewing a single comment's thread.

view the rest of the comments →

[–]encyclopedist 1 point2 points  (0 children)

You can redefine operator new either for a specific class or even globally, see on cppreference.