[system] - bug in system_message

26 Jun
2006
26 Jun
'06
6:57 a.m.
Hello, I think there are some bugs in the implementation: void system_message( error_code ec, std::string & target ) { target += std::strerror( sys_err_code ); // shoudn't this be target += std::strerror( ec); } In the documentation the signature of the function should be std::string& system_message(error_code err, std::string& target); std::string& system_message( error_code ec, std::string & target ) { target += std::strerror( ec); return target; } regards, Oliver
6927
Age (days ago)
6927
Last active (days ago)
0 comments
1 participants
participants (1)
-
Oliver.Kowalke@qimonda.com