trompeloeil
trompeloeil copied to clipboard
Trompeloeil does not use allocators
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.