This means I am creating a new .sWSA member in the struct with the MaxWSA value, or just assigning the correct type to MaxWSA for the operation?
I don't get it.
The iterator (from max_element) references (similiar to a pointer) a certain element in the vector. When you change it it will change the element in the vector.