#include "numeric.h" #include #include #ifdef __cpp_lib_source_location # include void safe_base::out_of_range(std::string desc) { throw std::out_of_range {std::move(desc)}; } #else void safe_base::out_of_range(const char * const function) { throw std::out_of_range {function}; } #endif