Accessing Previously Evaluated Modifier Data (C++)

Hey, I’ve decided to have a go at doing some dev in blender’s c++ in my spare time again,
With modifiers, is there a way to access the previously evaluated mesh or do I need to write the storing code myself?
As it is only a single instance of the mesh I need to access I felt like implementing memory caching would be overkill
Cheers