assert函数 2017-10-13 本文已影响7人 大魔王是本人 assert(cond,msg)throws an error and displays the errormessage,msg,ifcondisfalse.