Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trompeloeil does not use allocators #9

Open
rollbear opened this issue Feb 13, 2016 · 0 comments
Open

Trompeloeil does not use allocators #9

rollbear opened this issue Feb 13, 2016 · 0 comments

Comments

@rollbear
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant