trompeloeil icon indicating copy to clipboard operation
trompeloeil copied to clipboard

Trompeloeil does not use allocators

Open rollbear opened this issue 9 years ago • 0 comments

A user who does not have a github account reported that writing your own global operator new, and call mock functions from within it, causes infinite recursion.

This could be resolved by ensuring that all memory allocation in Trompeloeil is made via allocators that the user provides. The default can still be to use global operator new, so only advanced users yould be affected.

rollbear avatar Feb 13 '16 08:02 rollbear