Код: Выделить всё
struct StructTown
{
int devices = 0;
wxPoint coord;
bool Selected = false;
};
Код: Выделить всё
map Towns;
Код: Выделить всё
for (auto e:Towns)
{
e.second.Selected = true;
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79849640/fail-to-update-elements-in-stdmapstring-customstruct[/url]
Мобильная версия