26 std::runtime_error(join(args))
57std::string G::Exception::join( std::initializer_list<string_view> args )
60 for(
auto arg : args )
61 result.append(
": ",result.empty()||arg.empty()?0U:2U).append(arg.data(),arg.size()) ;
A general-purpose exception class derived from std::exception and containing an error message.
Exception(std::initializer_list< string_view >)
Constructor.
A class like c++17's std::string_view.