📅  最后修改于: 2022-03-11 14:44:51.952000             🧑  作者: Mango
auto int_bits_size = 32; // maximum number of bits for the integer
auto some_integer = 123456789;
std::string str = std::bitset(some_integer).to_string();