struct SomeStruct
{
int ToBeRenamed;
}
...
{
std::vector<SomeStruct> v = GetSomeStructs();
for (auto it = begin(v); it != end(v); ++it)
{
auto& thingy = *it;
int blah = thingy.ToBeRenamed; // <- this does not get renamed if I apply rename refactoring on the struct member definition
}
}