I know that the following statement is interpreted as a function declaration instead of a variable definition
boost::system::system_error sys_err(boost::system::error_code());
Is there any simple trick to turn it into a one-liner variable definition which is what I intend? I don't quite like the writing
boost::system::system_error sys_err(0, boost::system::system_category());