cpp · cpp/std--invalid_argument
std--invalid_argument
std::invalid_argument
Thrown when a function receives an argument that has an inappropriate value, such as passing a string with invalid characters to std::stoi or constructing a std::bitset with an invalid string.