What is the difference between boost::system::error_code and boost::system::error_code::value()?

前端 未结 0 1896
天命终不由人
天命终不由人 2021-02-19 00:34

For example, the following code compiles. Will test1 always equal test2?

boost::system::error_code ec = foo()
bool test1 = ec.value() ==         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题