Sure, but can't you just make a pointer to the data structure and call it a day? E.g. you find a std::set<whatever> in memory, so you just make a std::set<whatever> pointer and point it at the right spot. It's just a matter of finding the right address and whatever <whatever> is.