cpp · cpp/std--logic_error
std--logic_error
std::logic_error
Base class for exceptions representing errors in program logic that could in principle be detected at compile time or before execution. Subclasses include invalid_argument, out_of_range, length_error, and domain_error.