If I replace all operator new signatures that I can, at least with the versions that I tested, I see that the standard containers call my replaced versions to allocate memory.
Is this guaranteed by the standard? That is, would it be illegal for an implementation to use an optimized version that would not call my replacement functions for the memory that underlies standard containers?
c ++ language-lawyer c ++ 11
BeeOnRope Oct 19 '17 at 5:16 2017-10-19 05:16
source share