void f(std::vector<int> &array)
It's undefined behavior to read from the member of the union that wasn't most recently written.
It's undefined behavior to read from the member of the union that wasn't most recently written.
i >> 63
. Это выражение будет 0 для + и 1 для - (только, тип должен быть uint64_t, а то такой сдвиг будет Implementation defined и можно наткнуться на неприятности).myMap[key] = a