What exactly as been assigned to value? I am surprised that this has compiled at all.
//g++ 7.4.0
#include <iostream>
int main()
{
auto value = 123'456'7;
std::cout << value << std::endl;
value += 1;
std::cout << value << std::endl;
}
outputs:
1234567
1234568