vs2010提供了static_cast来判断常量表达式是否为true
比ASSERT多了提示信息的设置
如:
static_assert(MsgID > j, "msg id must > USER_ID_MIN");