#pragma once #include "c_common.hpp" namespace saw { namespace impl { struct lang_helper { static error_or append_string(std::string& buff, const std::string_view& str){ try{ buff += str; }catch(const std::exception&){ return make_error(); } return make_void(); } }; } }