This syntax is so strange, I don't know how to understand it.
I don’t know what it means, and I tried searching on major search engines, but the keywords were clueless and no results were found.
Please help me, thanks.
auto parser::error(const std::string& msg) -> void
{
std::cerr << msg << std::endl;
}