I want to check and see if the object has been reset one release it to the object pool after use. As the code is long and will be made changes later on, I wanted to know if there is a static tool check that I can run it through to check this.

  • 1
    Maybe PVS-Studio will help. But it's not clear what you are asking about. Please add an example of the code with issue. – AndreyKarpov Nov 21 '17 at 16:03
  • If I am maintaining an object pool, then on releasing the object back into pool, or on getting an object from the pool. I needs to be reset. So are there any tools that can help me check if that is the case? For avoiding this mistake in the future when changes are made to the class. – Sebu Elias Nov 22 '17 at 5:02
  • What do you mean by "reset"? – Ira Baxter Jan 28 '18 at 23:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.