Assume I have an object of type
std::map> data;
Is it possible to access the element types
No, they aren't possible; but this is:
for (auto&& [key, value] : data) { auto&& [my_int, my_float] = value; }
which is close at least.