SN-1434 已核对来源,附原文与上下文。
boost::program_options 就是同样的 "key=value" 格式。Gavin 指出,我们可以把它当作简单的解析器来用,不碰那些深奥的 c++ 语法(比如带类型的值提取)。以后想要更多功能再说。
boost::program_options has the same "key=value" format. Gavin pointed out we can use it in a simple way as a parser without getting into all the esoteric c++ syntax like typed value extraction. We can use more features if we want later.
咱们就用 HTTP basic authentication 吧,取代密码参数。
Lets go ahead with HTTP basic authentication instead of password as a parameter.