Advertisement
Guest User

Untitled

a guest
Jan 11th, 2021
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. struct MovedCargo { uint moved = 0, remainder = 0; };
  2.  
  3. /* 1: */
  4.  used_stations.emplace_back(std::make_pair(st, MovedCargo()));
  5.  
  6. /* 2: */
  7.  used_stations.emplace_back(std::make_pair(st, MovedCargo{}));
  8.  
  9. /* 3: */
  10.  MovedCargo zero;
  11.  used_stations.emplace_back(std::make_pair(st, zero));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement